DELETE /orgs/{oid}/roles/{rolename}
Summary
- Method:
DELETE
- Response Code:
204 / 200
- Response Formats:
- Since:
UForge 3.2
Removes a role from the organization.
Note
if this role is currently assigned to a user, then the role is also removed automatically from the user.
- Requires Authentication:
true
- Entitlements Required:
org_administrate
rolename
(required): the name of the role to be removedoid
(required): the id of theorg-object
None
curl "https://uforge.example.com/api/orgs/{oid}/roles/{rolename}" -X DELETE \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
entitlement-object
entitlement-getAll
role-object
role-create
role-getAll
role-update