Delete group
OVERVIEW
Request
DELETE /groups/{id}
Purpose: we need to provide group id of the group to be deleted / archieved. Response success codes 200 or 204 or it will return error object in case of failure
Response
In case of a Sucess 200 or 204
In case of a failure the response body will have the error code
<error>
<ref> Error reference code in at which full stack trace can be obtained</ref>
<summery> Details for the error </summery>
<atom:link rel="self" href="…/errors/200" /> // returns the full strack trace and other details for why the error happened
</error>
I think it is a nonsense the API is allowing to add site groups but not to remove.
So that, there is no way to delete a site group?
Peter Simpson Thanks for the quick reply.
Mark Salamon, I'm afraid that this is a system level group action. Site level Group management endpoints are HERE, but we have not exposed Site Group deletion, via the API.
https://{base_url}/{context_name}/api/{api_version}/groups/{group_id} would be the full URI, in any case.
Can this call be used to delete a site group? If not, is there a call for that? If this can be used for that purpose, what is the full signature, as there is no "api" prefix to the signature above.
Comments
5 Comments