Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 984 Bytes

File metadata and controls

52 lines (34 loc) · 984 Bytes

role_getAll

GET /orgs/{oid}/roles

Summary

  • Method: GET
  • Response Code: 200 / 304
  • Response Formats: application/xml application/json
  • Since: UForge 3.2

Retrieves all the roles for an organization.

A list of role-object objects are returned.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: org_administrate

URI Parameters

  • oid (required): the id of the org-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/roles" -X GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • entitlement-object
  • entitlement-getAll
  • role-object
  • role-create
  • role-delete
  • role-update