/users/service-accounts

Create a new service account with specified roles and optional API tokens

Body Params
string
required
length between 1 and 255

The username for the service account

string
length ≤ 255

Optional email address for the service account

string
length between 1 and 255

Optional full name/description for the service account

integer
≥ 1

ID of the organization role to assign to the service account. At least one of orgRoleId or team must be provided.

team
object

Team assignment for the service account. At least one of orgRoleId or team must be provided.

boolean
Defaults to false

Whether to create a push-only API token for the service account

boolean
Defaults to false

Whether to create a full access API token for the service account

Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json