API Keys

Validate API Key

Requires a JSON object with these properties:

  • apikey: The API key as a string.
  • jwt: The JWT token as a string.

Note: Requires administrator permissions.

post/_api/key/validate

Request

Request body

apikeystring required

The id of the API key.

Example request

{
  "apikey": "test1"
}

Response

Successfully validated API key.

codeinteger

HTTP response code.

errorboolean required

Flag if there is an error in response. False for this response.

Example response

{
  "code": 200,
  "result": [
    {
      "keyid": "test",
      "parent": "root",
      "tenant": "_mm"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.