Delete Customer Group
Permanently deletes an existing customer group.
Warning: Deletion is permanent and cannot be undone. There is no confirmation prompt. If customers are still assigned to the group, those assignments disappear with no way to recover them — the affected customers themselves are not touched and are not deleted.
Request
DELETE /api/oauth/v2/resource/customers/groups/{uuid}
Header
| Header | Value |
|---|---|
Authorization | Bearer {access_token} |
URL parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
uuid | string (UUID) | Yes | Unique customer group ID |
Required scope: customers
Response
Success (204 No Content)
The response has no body.
Beispiele
bash
curl -X DELETE "https://my.offisy.at/api/oauth/v2/resource/customers/groups/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
-H "Authorization: Bearer {access_token}"Parameter
Zuerst Token anfordern
Possible errors
| Status | Code | Description |
|---|---|---|
| 401 | invalid_client | Invalid or missing access token |
| 403 | insufficient_scope | Scope customers not present |
| 403 | access_denied | Access denied due to missing permission |
| 404 | not_found | Customer group not found |