service_accounts

Create API key for a service account

Changed on

Create a new API key. The plaintext key is only returned once.

post/api/v1/service-accounts/{id}/api-keys

Request

  • The document declares no server URL.
  • Auth
    • API key in header X-API-Key
    • or API key in header Authorization

Path parameters

idstring required

Service account ID

Request body

expires_in_daysinteger
namestring

Response

Created

created_atstring
expires_atstring
idstring
keystring
last_used_atstring
namestring
service_account_idstring

Changes

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • info

      the endpoint scheme security BearerAuth was added to the API