Custom Roles

Update a custom role

Updates an existing custom role's name, description, and permission statements.

post/teams/{team_id}/update_custom_role

Path parameters

team_idinteger required

Team ID

Request body

idinteger required
namestring required
descriptionstring nullable

Example request

{
  "statements": [
    {
      "resource": "project:*"
    }
  ]
}

Response

idinteger required
teamIdinteger required
namestring required
descriptionstring nullable
creatorinteger
createTimeinteger required

Example response

{
  "statements": [
    {
      "resource": "project:*"
    }
  ]
}

Changes

Changed in 3 of the 6 revisions of this API.78

  • 005e83eb28f066See the full diff
    • added the new deployment:aiGateway:use enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the new directorySync:deleteGroupMapping enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the new directorySync:disable enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the new directorySync:enable enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the new directorySync:updateGroupMapping enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the new directorySync:view enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the new deployment:aiGateway:use enum value to the request property ////

      request-property-enum-value-added

    • added the new directorySync:deleteGroupMapping enum value to the request property ////

      request-property-enum-value-added

    • added the new directorySync:disable enum value to the request property ////

      request-property-enum-value-added

    • added the new directorySync:enable enum value to the request property ////

      request-property-enum-value-added

    • added the new directorySync:updateGroupMapping enum value to the request property ////

      request-property-enum-value-added

    • added the new directorySync:view enum value to the request property ////

      request-property-enum-value-added

    • the endpoint scheme security OAuth Team Token was removed from the API

      api-security-removed

  • cfe35d359fba11See the full diff
    • added the new deployment:usage:view enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the new deployment:usage:view enum value to the request property ////

      request-property-enum-value-added

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