Authorization Token API
Introduced 1.0
Returns an OK status with an empty message field. This endpoint accepts a POST request but does not issue a token.
To generate an authorization token for a service account, use the Generate User Token API.
Endpoints
POST /_plugins/_security/api/authtoken
Example request
POST _plugins/_security/api/authtoken
{}
Example response
{
"status": "OK",
"message": ""
}
Response body fields
The response body is a JSON object with the following fields.
| Field | Data type | Description |
|---|---|---|
status | String | The status of the request. Always OK. |
message | String | Always an empty string. |