Delete Group
DELETE/api/groups/:key
Delete the group of the given key.
You can find more information about groups here.
Tokens
- A valid
AccessTokenwithADMINpermissions is required.
Request
Responses
- 200
- 401
- 403
- 404
- 500
Success.
The following error codes correspond to this status:
ACCESS_TOKEN_EXPIRED: Indicates that the access token is expired.ACCESS_TOKEN_INVALID: Indicates that the access token cannot be decoded.AUTHENTICATION_REQUIRED: User is not authenticated.
The following error codes correspond to this status:
ROLE_REQUIRED: Principal does not have required role.
The following error codes correspond to this status:
GROUP_NOT_FOUND: No group with specified key found.
The following error codes correspond to this status:
ACCESS_TOKEN_ALLOWLIST_READING_FAILURE: Represents an exception indicating a failure when reading the allowlist for an access token cache.DATABASE_FAILURE: Exception representing a general failure related to database operations.MEMBER_UPDATE_FAILURE: Failed to update member after group deletion.