beta.service_accounts

Set Service Account Roles

Replace the workspace roles assigned to a service account.

Requires the Workspace admin (workspace_admin) role.

put/v1/service-accounts/{service_account_id}/roles

Path parameters

service_account_idstring uuid required

Request body

role_idsstring[]

Response

Successful Response

Changes

Changed in 2 of the 5 revisions of this API.23

  • fa73befe1c6122See the full diff
    • ▲

      the request's body type changed from no type to object

      request-body-type-changed

    • ▲

      the response's body type changed from no type to object for status

      response-body-type-changed

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the required property to the response with the status

      response-required-property-added

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

    • ○

      endpoint added

      endpoint-added