role_update

PUT /orgs/{oid}/roles

Updates the information of a role.

Please refer to role for a complete list of all the role attributes.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: org_administrate

URI Parameters

  • oid (required): the id of the org

HTTP Request Body Parameters

A role object

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/roles" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"

Example of representation.xml content (the request body):

<ns0:role xmlns:ns0="http://www.usharesoft.com/uforge">
        <name>Example Role Updated</name>
</ns0:role>