api-docs-icon

Create a new service account with a set of project permissions

POST
/ service_account

object
name
string
required
Example:
Documentation Publisher Service Account
object_roles
array[object]
required
object

expiration
string (date-time)

UTC datetime when the service account key should expire (ISO 8601 format without timezone), key never expires expiration is not specified

Example:
2025-01-01T00:00:00

Responses

Service Account Created, returning API key

application/json
object
api_key
string
required
Example:
sideko_live_abc123
avatar_url
string (uri)
required
created_at
string (date-time)
required
email
string (email)
required
expiration
string (date-time)
required
nullable
first_name
string
required
id
string (uuid)
required
is_service_account
boolean
required
last_name
string
required

Code Examples

Response