Delete a group

DELETE /api/v1/component-groups/{group}

Refused while the group still holds components or sub-groups.

Required permission

components.manage Manage components

URL variables

Name Description
group

Response (application/json)

{2 Eigenschaften
  "message": "Component group not found.",
  "documentation_url": "https://docs.firestatus.de"
}
{3 Eigenschaften
  "message": "This group still contains components or sub-groups. Move or delete them first.",
  "errors": {1 Eigenschaft
    "group": [1 Element
      "This group still contains components or sub-groups. Move or delete them first."
    ]
  },
  "documentation_url": "https://docs.firestatus.de"
}

cURL

curl -X DELETE 'https://status.example.com/api/v1/component-groups/{group}' \
  -H 'Authorization: Bearer fs_YOUR_API_KEY'