Skip to navigation

Update Role

Updates a role.

This operation replaces the entire role object. Omitted fields are overwritten.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

roleIdstringRequiredformat: "uuid"
ID of the role.

Request

This endpoint expects an object.
namestringRequired
Name of the role.
permissionGrantslist of objectsRequired
Permissions of the role.
filePreviewDownloadLimitsobjectOptional
accessConditionslist of objectsOptional
Condition of the role, keyed by name.
restoreDestinationLimitsobjectOptional
Limits the restore accounts that can be used as restore destinations for operations granted by the role.
restoreDestinationTagLimitsobjectOptional

Limits the restore accounts that can be used as restore destinations for operations granted by the role, using the tags the cloud provider holds against the account (AWS account tags, Azure subscription tags, or GCP project labels).

Applied in combination with restoreDestinationLimits, so a destination has to satisfy both. Matching is exact on key and value. If Eon discovers no tags for an account, the account satisfies only CONTAINS_NONE_OF.

sameSourceAccountRestoreLimitsobjectOptional
Restricts restoring applicable resources to the source account they were backed up from.

Response

Role updated.
roleobject
Role.

Errors

404
Not Found Error