Role

Update

Update a role by passing a Role object.

post/api/v1/iam/roles/{role_id}

Path parameters

role_idstring required

The id of the role.

Request body

updateMaskstring nullable

Response

UpdateRolesResponse is the response message containing the updated role.

Changes

Changed in 2 of the 33 revisions of this API.4132

  • f2cf3228f3664131See the full diff
    • the request property updateMask became not nullable

      request-property-became-not-nullable

    • the role request property type/format changed from object/ to /

      request-property-type-changed

    • added c1.api.iam.v1.Role subschema #2 to the role response property oneOf list for the response status 200

      response-property-one-of-added

    • the role response's property type/format changed from object/ to / for status 200

      response-property-type-changed

    • removed the request property role/displayName

      request-property-removed

    • removed the request property role/permissions

      request-property-removed

    • removed the request property role/serviceRoles

      request-property-removed

    • removed the optional property role/createdAt from the response with the 200 status

      response-optional-property-removed

    • removed the optional property role/deletedAt from the response with the 200 status

      response-optional-property-removed

    • removed the optional property role/displayName from the response with the 200 status

      response-optional-property-removed

    • removed the optional property role/id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property role/name from the response with the 200 status

      response-optional-property-removed

    • removed the optional property role/permissions from the response with the 200 status

      response-optional-property-removed

    • removed the optional property role/serviceRoles from the response with the 200 status

      response-optional-property-removed

    • removed the optional property role/systemApiOnly from the response with the 200 status

      response-optional-property-removed

    • removed the optional property role/systemBuiltin from the response with the 200 status

      response-optional-property-removed

    • removed the optional property role/updatedAt from the response with the 200 status

      response-optional-property-removed

    • added c1.api.iam.v1.Role subschema #2 to the role request property oneOf list

      request-property-one-of-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog