Spaces method and path for this operation:
get /s/{space_id}/api/fleet/check-permissions
Refer to Spaces for more information.
Check whether the current user has the required permissions to use Fleet. Optionally verifies Fleet Server setup privileges.
GET
/api/fleet/check-permissions
curl \
--request GET 'https://localhost:5601/api/fleet/check-permissions' \
--header "Authorization: $API_KEY"
Response examples (200)
Check permissions missing privileges example
The current user is missing Fleet privileges
{
"error": "MISSING_PRIVILEGES",
"success": false
}
The current user has all required Fleet permissions
{
"success": true
}
Response examples (400)
Example of a generic error response
{
"error": "Bad Request",
"message": "An error message describing what went wrong",
"statusCode": 400
}