Update a role

Updates an existing role with new details.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
Body Params
allowedDurations
array of objects | null

Allowed durations (in seconds) for access requests to this role. If omitted or set to null, inherits from the parent resource's allowed durations, which in turn may inherit from the integration. Empty array is not allowed. Values must be from the predefined enum.

allowedDurations
boolean

Indicates if the role is requestable

workflow
object | null

Workflow associated with the role (object with 'id' UUID). To get available workflow IDs, use GET /public/v1/workflows. If null, inherits from the parent resource's workflow.

prerequisitePermissions
array of arrays of objects

Prerequisite permissions grouped by any-of/all-of sets. Outer array represents OR logic (any set can match), inner arrays represent AND logic (all permissions in a set must match). To get role permission IDs, use GET /public/v1/roles?resourceId=.

prerequisitePermissions
Response

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json

©2003-2026 BeyondTrust Corporation. All Rights Reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.