Skip to main content
POST
Create an API key.

Authorizations

Authorization
string
header
required

Bearer token with Platform JWT token or API Key.

Path Parameters

userId
string
required

Body

application/json
name
string
required

You need to provide name of the user.

restricted
boolean
required

You can provide if key should be whitelisted.

expireAt
string<date-time>
required

Aggregation period from.

whitelist
object[]

In case when restricted, this should be filled also.

Response

OK.