Skip to main content
POST
/
auth
/
organization
/
remove-team
Remove Organization Team
curl --request POST \
  --url https://cloud.kaneo.app/api/auth/organization/remove-team \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "teamId": "<string>",
  "organizationId": "<string>"
}
'
{
  "message": "Team removed successfully."
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
teamId
string
required

The team ID of the team to remove. Eg: "team-id"

organizationId
string | null

The organization ID which the team falls under. If not provided, it will default to the user's active organization. Eg: "organization-id"

Response

Team removed successfully

message
enum<string>
required

Confirmation message indicating successful removal

Available options:
Team removed successfully.