Help Search

Delete a group

Only a group manager or a user with administrator role can delete a group. A Group cannot be deleted as long as it is the sole owner of a shared resource. A Group can be deleted subject to relevant permissions by sending a DELETE request to /groups/<groupId>.json

DELETE /groups/<groupId>.json

A dry run can also be performed before actually attempting to delete a group. This works as follow:

DELETE /groups/<groupId>/dry-run.json

This will check all the constraints and return a 200 OK response if the group can be deleted safely.

Possible responses

Code Description
200 OK
Group deleted successfully.
400 Bad Request
The groupId supplied is not a valid UUID
403 Authentication Failure
The user making the request does not have the Admin role.
404 Not Found
The group either does not exist or the user making the request does not have delete permission.

Last updated

This article was last updated on April 23rd, 2019.

For another perspective on the API you browse the OpenAPI 2.0 specifications using the dedicated API reference site (Swagger UI).

API Reference

You can also find the latest OpenAPI 2.0 specifications directly on the dedicated repository.

OpenAPI Specs repository
🍪   Do you accept cookies for statistical purposes? (Read more) Accept No thanks!