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
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"apikey": "test1"
}Response
Successfully validated API key.
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.