API-keys

Upsert a API-key

Create or Update API-key using ID.

put/key-auths/{KeyAuthId}

Request body

created_atinteger

Unix epoch when the resource was created.

idstring nullable
keystring required
tagsstring[]

Example request

{
  "consumer": {
    "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
  },
  "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
  "key": "IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo"
}

Response

Successfully upserted API-key

created_atinteger

Unix epoch when the resource was created.

idstring nullable
keystring required
tagsstring[]

Example response

{
  "consumer": {
    "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
  },
  "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
  "key": "IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo"
}

Changes