/
How to remove owner from group with Delegated Group administration using REST API
How to remove owner from group with Delegated Group administration using REST API
This article explains how to remove an owner from a group in Delegated groups using Rest API.
Instructions
Here is the REST API used to remove the owner:
/rest/wittified/delegated-groups/1.0/configure/remove-owner
Execute the below curl command to remove an existing owner from a group:
curl -u username:password -X DELETE --insecure -d '{"group":"group4","userKey":"agent"}' -H "Content-Type: application/json" -v http://www.domain.com/rest/wittified/delegated-groups/1.0/configure/remove-owner
In this curl command, group4 is the name of the group and agent is the name of the user who is the owner of the group group4.
- The below screenshot shows the group with an owner:
- Remove --insecure from the above command if your URL contains HTTP protocol.
- Make sure to update the username, password, user_name, group _name and "https://www.domain.com" accordingly to the above two curl commands as per the environment details.
, multiple selections available,
Related content
How to add a group and owner to a group using Rest API calls in Delegated Group Management
How to add a group and owner to a group using Rest API calls in Delegated Group Management
More like this
configure/remove-owner
configure/remove-owner
More like this
delegation/my-groups
delegation/my-groups
More like this
configure/add-owner
configure/add-owner
More like this
delegation/getAll
delegation/getAll
More like this
REST Endpoints (2.0)
REST Endpoints (2.0)
More like this