Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.07 KB

File metadata and controls

53 lines (35 loc) · 1.07 KB

role_delete

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.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: org_administrate

URI Parameters

  • rolename (required): the name of the role to be removed
  • oid (required): the id of the org-object

HTTP Request Body Parameters

None

Example Request

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