---
title: "Check permission"
method: GET
path: "/permissions/can-access"
tags: ["Permissions"]
---

# Check permission

`GET /permissions/can-access`

Return whether the authenticated user can perform an action on a resource.

## Query parameters

- `action` 'manage' | 'create' | 'read' | 'update' | 'delete', required
- `resource` 'all' | 'pull_requests' | 'issues' | 'cockpit' | 'billing' | 'code_review_settings' | 'issues_settings' | 'git_settings' | 'user_settings' | 'organization_settings' | 'plugin_settings' | 'logs' | 'kody_rules', required

## Response `200`

- ApiBooleanResponseDto
  - `statusCode` number, required
  - `type` string, required
  - `data` boolean, required

## Other responses

- `400` — Validation error
- `401` — Not authenticated
- `403` — Insufficient permissions
- `500` — Unexpected error

---

[API](https://skmtc.net/kodustech/apis/kodus-api.md) · [All operations](https://skmtc.net/kodustech/apis/kodus-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kodustech/kodus-api/revisions/e2282ac5fb3a/schema)
