configure/remove-owner
- Former user (Deleted)
Remove a user or a group as the owner of the delegated group
Request
https://your.jira.url/rest/wittified/delegated-groups/1.0/configure/remove-owner
Parameters
Removing Group
Parameter Name | Value | Description |
---|---|---|
group | String | Name of the delegated group |
groupKey | String | Name of the group that is currently an owner of this delegated group but needs to be removed from the ownership |
Removing User
Parameter Name | Value | Description |
---|---|---|
group | String | Name of the delegated group |
userKey/user | String | Name of the user who is currently an owner of this delegated group but needs to be removed from the ownership |
Sample request
Removing Group
curl -u admin:admin -X DELETE -d '{"group": "Administrators","groupKey":"jira-administrators"}' -H "Content-Type: application/json" -v http://your.server.url/rest/wittified/delegated-groups/1.0/configure/remove-owner
Removing User
curl -u admin:admin -X DELETE -d '{"group": "Administrators","userKey":"ff80808160e8c8810160e8d6a1210000"}' -H "Content-Type: application/json" -v http://your.server.url/rest/wittified/delegated-groups/1.0/configure/remove-owner
curl -u admin:admin -X DELETE -d '{"group": "Administrators","user":"admin"}' -H "Content-Type: application/json" -v http://your.server.url/rest/wittified/delegated-groups/1.0/configure/remove-owner
Sample response
{"userOwners":"user1","groupOwners":"jira-users","group":"creator"}