Skip to content

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

Closed

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?

Activity

  1. self-assigned this
    on Apr 1, 2022
  2. changed the title [-]api: workspace by id does not return 404 when workspace deleted[/-] [+]bug bash: api: workspace by id does not return 404 when workspace deleted[/+] on Apr 1, 2022
  3. changed the title [-]bug bash: api: workspace by id does not return 404 when workspace deleted[/-] [+]api: workspace by id does not return 404 when workspace deleted[/+] on Apr 4, 2022
  4. added this to the V2 Beta milestone on May 4, 2022
  5. misskniss commented on May 5, 2022

    @misskniss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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