Check permissions Beta

GET /api/fleet/check-permissions

Headers

  • The version of the API to use

    Value is 2023-10-31. Default value is 2023-10-31.

Responses

  • 200 application/json; Elastic-Api-Version=2023-10-31
    Hide response attributes Show response attributes object
    • error string

      Values are MISSING_SECURITY, MISSING_PRIVILEGES, or MISSING_FLEET_SERVER_SETUP_PRIVILEGES.

    • success boolean Required
  • 400 application/json; Elastic-Api-Version=2023-10-31
    Hide response attributes Show response attributes object
GET /api/fleet/check-permissions
curl \
 -X GET https://localhost:5601/api/fleet/check-permissions \
 -H "elastic-api-version: 2023-10-31"
Response examples (200)
{
  "error": "MISSING_SECURITY",
  "success": true
}
Response examples (400)
{
  "error": "string",
  "message": "string",
  "statusCode": 42.0
}