API Docs / Operations / API Keys / Create My API Key

Create My API Key

POST /me/api-keys

Issues the caller an API key, which acts as them on every tenant they are a member of. The key is returned this once and cannot be read back. Bearer token only: 403 with an API key. 400 for an expiry date that is not in the future.

Request Body*

{
  "name": "string",
  "expiresDate": "2024-01-01T00:00:00Z"
}

Responses

201 Created
400 Bad Request
application/problem+json
401 Unauthorized – Invalid or missing API key
403 Forbidden
application/problem+json