Skip to content

Delete the organization

DELETE
/api/v1/organizations/{id}
curl --request DELETE \
--url http://localhost:3000/api/v1/organizations/example \
--header 'Authorization: Bearer <token>'

With its projects and everything in them, its grants, invitations and settings; its files go with the next sweep. Admin on the organization. Not the server’s only one.

Any caller; the scope needed is checked on what it acts on.

id
required
string

Organization id

Deleted

Media typeapplication/json
object
data
required
object
deleted
required
boolean
Example
{
"data": {
"deleted": true
}
}

An error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"detail": "example"
}
}