Users
Create API key for user
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique identifier for a user
Body
application/json
The date and time when the API key will expire. If not provided, the API key will never expire.
The mode of the API key. Determines the key prefix (sk_test_ or sk_live_). At the moment only live keys are supported.
Available options:
test
, live
Optional list of organization IDs to filter principals. If not provided, all user's principals will be included.
Unique identifier for an organization