v1

latestOpenAPI 3.0.02026-07-14169306521.0 KB
team

Create a service account for a team.

Required RBAC Policy: team/serviceaccount/create

post/team/serviceaccounts

Query parameters

namestring required

Name is the name of the service account to create.

policy_idstring required

PolicyID is the ID of the policy to assign to the service account.

permissionsstring

Permissions is whether the service account is read-only or not. Any value besides "read-only" will be treated as "read-write". Optional.

Response

CreateTeamServiceAccountResponse contains the created service account and its access token.

access_tokenstring

AccessToken is the access token for the created service account.