Skip to main content
POST
Create a service account for the current org

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and token.

Body

application/json

Input

name
string
required

Name is a human-friendly label for the service account.

role
string
required

Role must be one of the service account roles returned by GET /v1/roles.

Response

Created

account_type
enum<string>
Available options:
auth,
auth0,
service,
canary,
integration
created_at
string
email
string
id
string
name
string
org_ids
string[]

ReadOnly Fields

permissions
object
roles
object[]
subject
string
updated_at
string
user_journeys
object[]