Delete Workspace
Delete an existing workspace. Only the owner of the workspace can delete it. Master workspaces and the user's only remaining workspace cannot be deleted.
DELETE
Path Parameters
workspaceIdstringrequiredThe unique identifier of the workspace to delete.
Headers
x-workspace-idstringrequiredThe workspace ID being accessed (should match the path parameter).
Description
This endpoint allows the authenticated owner of a workspace to delete it, subject to the following restrictions:
- The workspace cannot be the master workspace.
- The workspace cannot be the user's only remaining workspace.
- The requester must be the owner of the workspace (team members are not authorized).
If the workspace contains external members, their access is revoked before deletion. The associated workspace wallet is also deleted as part of this operation.
Response Fields
successbooleanIndicates whether the workspace was successfully deleted.
