POST
/
service_accounts
/
{clientId}
/
api_keys

Authorizations

Authorization
string
headerrequired

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

Path Parameters

clientId
string
required

Client ID

Body

application/json
expires_in
string

Expiration period for the API key

name
string

Name for the API key

Response

200 - application/json

Long-lived API key for accessing Beamlit

created_at
string

The date and time when the resource was created

created_by
string

The user or service account who created the resource

updated_at
string

The date and time when the resource was updated

updated_by
string

The user or service account who updated the resource

api_key
string

Api key

expires_in
string

Duration until expiration (in seconds)

id
string

Api key id, to retrieve it from the API

name
string

Name for the API key

sub
string

User subject identifier

sub_type
string

Subject type