Thanks to visit codestin.com
Credit goes to github.com

Skip to content

api: workspace by id does not return 404 when workspace deleted #832

Closed
@johnstcn

Description

@johnstcn

Given: a workspace exists with ID 1234-5678
When: the workspace is deleted
Then: hitting https://$CODER_URL/api/v2/workspaces/1234-5678 returns a 200 OK response with the workspace

Expected behaviour: a 404 is returned

Are we not deleting a row?

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions