Semaphor

Delete a group

Permanently deletes a group and removes all memberships. The group must have no shared resources — revoke all dashboard and visual shares from the group first. Returns 409 if the group still has shared resources.

DELETE
/api/management/v1/groups/{groupId}

Authorization

BearerAuth
AuthorizationBearer <token>

A project-scoped access token. Generate one via the Token API with your project ID and project secret.

In: header

Path Parameters

groupId*string

The group's unique identifier.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X delete "https://semaphor.cloud/api/management/v1/groups/string"
{
  "message": "string"
}
{
  "error": "string",
  "details": "string",
  "code": "string",
  "fieldErrors": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}
{
  "error": "string",
  "details": "string",
  "code": "string",
  "fieldErrors": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}
{
  "error": "string",
  "details": "string",
  "code": "string",
  "fieldErrors": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}
{
  "error": "string",
  "details": "string",
  "code": "string",
  "fieldErrors": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}
{
  "error": "string",
  "details": "string",
  "code": "string",
  "fieldErrors": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}