---
ai:
  exclude: true
search:
  tags:
    - mypermissions
    - GET
seo:
  description: >-
    Returns all permissions in the system and whether… Reference for the GET
    /api/2/mypermissions endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Get permissions for the logged in user
  badge: GET
title: Get permissions for the logged in user
type: openapi-operation
---
Returns all permissions in the system and whether the currently logged in user has them. You can optionally provide a specific context to get permissions for (projectKey OR projectId OR issueKey OR issueId)

`GET /api/2/mypermissions`

**Responses**

- `200` — Returns a list of all permissions in Jira and whether the user has them.
- `400` — Returned if the project or issue id is invalid.
- `401` — Returned if request is on behalf of anonymous user.
- `404` — Returned if the project or issue id or key is not found.

Response example, 200:

```json
{
  "permissions": {
    "EDIT_ISSUE": {
      "id": "EDIT_ISSUE",
      "type": "USER",
      "description": "Ability to edit issues.",
      "name": "Edit Issues",
      "havePermission": true
    }
  }
}
```
