Skip to main content
POST
/
v1
/
service-accounts
Create Service Account
curl --request POST \
  --url https://api.example.com/v1/service-accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "scopes": [
    "<string>"
  ]
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Required string length: 1 - 100
scopes
string[]

Response

Successful Response

The response is of type Response Create Service Account V1 Service Accounts Post · object.