API Explorer
Delete a team owned by the calling org
Deletes the team. The call fails with 409 if the team still has APIs or mock servers — the caller must remove those first. Cross-org deletes return 404 so the existence of the team is not leaked.
Authorization
BearerAuth AuthorizationBearer <token>
Bearer token. Either a Personal Access Token (pat_...) or a Service Account
Token (sat_...). Issued via the Spec0 dashboard or /me/personal-access-tokens.
In: header
Path Parameters
teamId*string
Format
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://app.spec0.io/api/v1/public/teams/497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty
{
"error": "string",
"message": "string"
}{
"status": 0,
"title": "string",
"detail": "string",
"type": "string",
"instance": "string"
}{
"status": 0,
"title": "string",
"detail": "string",
"type": "string",
"instance": "string"
}{
"status": 0,
"title": "string",
"detail": "string",
"type": "string",
"instance": "string"
}Was this helpful?