Skip to content

Create a service user

POST
/service-users
curl --request POST \
--url https://api.global.stillbox.example/v1/service-users \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "role": "member" }'

An account for automation that isn’t a person. Its keys keep working when people leave. Owners only.

Media typeapplication/json
object
name
required
string
<= 100 characters
role
required
string
Allowed values: member auditor

The new service user

Media typeapplication/json
object
id
required
string
name
required
string
role
required
string
Allowed values: member auditor
created_by
string
created_at
required
string format: date-time

Example

{
"role": "member"
}

The request is invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

Only an owner can do this (owner_only), or the invitation is for another address (not_invited)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}