Update a Role
Changes a role’s label and description. Anything you omit is left alone.
The role’s name — the identifier in {id} — CANNOT be changed here or anywhere else; it is what grants point at. The permissions inside the role are not edited here either: use POST /v1/roles/{id}/permissions and its remove counterpart. So this endpoint cannot widen or narrow anybody’s access, which is why it is the least dangerous call in the family.
Failures:
400— a supplied member is malformed.404— no such role in your organization.422 IDE-1062— the change would set, alter or remove adescriptionstarting withri-declared:, which belongs to the service that declared the role. Resending the current description unchanged is accepted.503 IDE-0066— the identity provider is unavailable (unreachable, too slow to answer, or failing). Nothing about the request was wrong; retry it later.
PATCH
Update a Role
Authorizations
JWT bearer token issued by the identity provider.
Path Parameters
Role ID.
Example:
"midaz-editor"
Body
application/json

