/auth/v1/groups/<group_ID>: DELETE
Deletes a specific user group.
The following table shows which roles can access this REST API endpoint:
Data admin | Data user | Collection Admin | Admin | Service user |
---|---|---|---|---|
Χ | Χ | Χ | ✓ | Χ |
Synopsis of the request URL
curl -k -H ‘Authorization: Bearer <token>’ https://<spectrum_discover_host>/auth/v1/groups/<group_id> -X DELETE
Supported request types and response formats
Supported request types:
- DELETE
- JSON
Examples
The following example shows how to delete a group.
Request:
curl -k -H ‘Authorization: Bearer <token>’ https://<spectrum_discover_host>/auth/v1/groups/a51f84bfeb034b12a9a362109d78bec3 -X DELETE
Response:
204 No Content