workspace

Close This Workspace

Close the workspace being acted for, permanently.

The workspace is the one the request is already scoped to — a caller switches into a workspace to close it. That is not ceremony: the role that decides whether they may is the role they hold there, and reading it from the context is what makes it impossible to close a workspace using an admin's rights somewhere else.

delete/api/workspace

Request

  • Base URL: https://api.heymetra.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.heymetra.com/api/workspace
  • Auth: none declared

Headers

authorizationstring nullable
x-workspace-idstring nullable

Request body

namestring required

Response

Successful Response

connections_archivedinteger required
invitations_revokedinteger required
approvals_droppedinteger required
memberships_endedinteger required
subscription_cancelledboolean required
grants_left_behindinteger required

Changes

No recorded changes to this operation across all 3 revisions of this API.