Develop > Application Programming Interface > Legacy APIs > Artifact API > Delete or disassociate group from an organization

Delete or disassociate group from an organization

Use this URI to delete a group or to disassociate it from an organization. If no organization is associated with this group, the group will be deleted. Otherwise, the group will be disassociated from the specified organization.

Details

URI /artifact/<organization_id>/group/<group_id>
Method DELETE
Parameters

userIdentifier=<user_id>
    Required; the user ID you want to use as credentials for this API call. See Get userIdentifier for the steps required to get the userIdentifier value.

Returns 200 - Ok
401 - Not authorized
404 - Object not found
500 - Server exception

Example

The following URL was sent:

https://<host>:<port>/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>