POST
/api/fleet/service-tokens
curl \
--request POST https://localhost:5601/api/fleet/service-tokens \
--header "Authorization: $API_KEY" \
--header "kbn-xsrf: string"
Response examples (200)
{
"name": "string",
"value": "string"
}
Response examples (400)
{
"error": "string",
"message": "string",
"statusCode": 42.0
}