operator

Generate a new API key

post/api/v1/operator/keys

Request body

namestring required

Human-readable label for this API key

Example request

{
  "name": "Production"
}

Response

plainKeystring required

Plain-text key — shown ONCE, never returned again

keyIdstring required
keyPrefixstring required

Example response

{
  "keyPrefix": "ac_ab12...cd34"
}

Changes

Changed in 2 of the 15 revisions of this API.22

  • 280a966f658721See the full diff
    • added required request body

      request-body-added-required

    • removed the success response with the status 201

      response-success-status-removed

    • added the success response with the status 200

      response-success-status-added

    • endpoint added

      endpoint-added