workspace

create a service account

post/w/{workspace}/workspaces/create_service_account

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/workspaces/create_service_account
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required

Request body

usernamestring required
is_adminboolean

Grant the service account workspace admin. Defaults to false. Cannot be combined with operator=true.

operatorboolean

Make the service account an operator. Defaults to true for backward compatibility. Set to false to count as a developer (1 seat) instead of 0.5 seat.

add_to_deployersboolean

Add the service account to the workspace wm_deployers group on creation. Recommended when the account will be used as a CLI sync / CI deploy identity so it can deploy on behalf of other users.

Response

service account created

Changes

No recorded changes to this operation across all 297 revisions of this API.