apistockdocs
v0.4 GitHub apistock.dev
API reference/Organisations

Delete an organisation

DELETE /v1/orgs/{orgId}
Members lose access at once. An owner can restore it until the retention period (orgs.deleted_org_retention) ends; then it is purged with its data. Personal workspaces can't be deleted.

Authorization

bearer
Authorizationheader · stringrequired

Session token from POST /v1/auth/login with "transport": "bearer". Browsers use the session cookie that login sets instead.

Path

orgIdstringrequired
maxLength: 64

Responses

errors: application/problem+json
204

No Content

401

Unauthorized

403

Forbidden

404

Not Found

409

Conflict

422

Unprocessable Entity

500

Internal Server Error

Match errors on the problem's code, which stays the same, not on its message.

esc
↑↓ move↵ openesc close