Skip to main content
DELETE
/
v1
/
orgs
/
{orgId}
Delete an organization
curl --request DELETE \
  --url https://api.polpo.sh/v1/orgs/{orgId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "slug": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

Authorization
string
header
required

Session token from Better Auth

Path Parameters

orgId
string<uuid>
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Organization deleted

id
string<uuid>
required
name
string
required
slug
string
required
createdAt
string
required
updatedAt
string
required