Skip to main content
post/service-accounts/{id}/api-keys

Create API key

LLM
View as Markdown
Open llms.txt

Creates an API key for a service account. Store the plaintext key from this response because it is shown once.

Authorization

Scheme

  • bearerAuth

Required scopes

  • api_key:create

Allowed roles

  • owner
  • admin

Create an API key.

Parameters

  • Name
    id
    Type
    path string
    Description
    Required parameter.

Request body

  • Name
    application/json
    Type
    CreateAPIKeyRequest
    Description
    Required body.

Responses

  • 200

    API key created (plaintext key shown once)

    • application/json CreateAPIKeyResponse
  • default

    Error

    • application/json ProblemDetails