---
title: "Check permissions"
method: GET
path: "/api/fleet/check-permissions"
tags: ["Fleet internals"]
---

# Check permissions

`GET /api/fleet/check-permissions`

**Spaces method and path for this operation:**

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/check-permissions</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Check whether the current user has the required permissions to use Fleet. Optionally verifies Fleet Server setup privileges.

## Query parameters

- `fleetServerSetup` boolean

## Response `200`

Successful response

- object
  - `error` 'MISSING_SECURITY' | 'MISSING_PRIVILEGES' | 'MISSING_FLEET_SERVER_SETUP_PRIVILEGES'
  - `success` boolean, required

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
