DELETE/api/organizations/{organization_id}Authenticated

Delete an organization

Deletes an organization together with its memberships and invitations. Only owners of the organization or platform administrators may delete it; system (hardcoded) organizations cannot be deleted.

operationId delete_api_organizations_organization_idOrganizations

Authentication & permissionsAuthenticated

Any authenticated user

Accepted credentials
Who may call
Any authenticated user
Notes
Only organization owners or platform administrators may delete an organization.

Path parameters

NameTypeDescription
organization_id*string

Organization id (URL-safe slug)

Responses

application/json
SuccessMessageResponse
PropertyTypeDescription
success*true
message*string
JSONExample
"success"true
"message""string"

Example request

bashcurl
curl -X DELETE 'https://auth.schemavaults.com/api/organizations/<organization_id>' \
  -b 'refresh_token_<auth_server_app_id>=<value>'