Develop > API calls > Artifact APIs > Delete or dissociate a group from an organization

Delete or dissociate a group from an organization

Deletes a group or dissociates it from an organization. If no organization is associated with this group, the group will be deleted. Otherwise, the group will be dissociated from the specified organization.

URI Method Parameters Returns
http://[host]:[port]/csa/rest/artifact/{organizationID}/group/{groupID} DELETE
  • Organization ID
  • Group ID
  • User ID - Required; the user ID you want to use as credentials for this API call.

200 - successful
401 - not authorized
404 - object not found
500 - server exception

Example

The following URL was sent:

https://localhost:8444/csa/rest/artifact/8a81818f3d1421e7013d1423635a0003/group/8a81818f3d1437e2013d1795d41107ea?userIdentifier=90d96588360da0c701360da0f1d5f483

The following XML was returned:

<messageList>
  <messages>Removed role association for My-New-Group-Name</messages>
</messageList>