---
ai:
  exclude: true
search:
  tags:
    - Space Permissions
    - GET
seo:
  description: >-
    Returns list of permissions granted… Reference for the GET
    /rest/api/space/{spaceKey}/permissions/user/{userKey} endpoint in the
    Confluence Data Center API.
sidebar:
  label: Gets the permissions granted to a user in a space
  badge: GET
title: Gets the permissions granted to a user in a space
type: openapi-operation
---
Returns list of permissions granted to user in the particular space.

Example request URI's:
`https://example.com/confluence/rest/api/space/TESTSPACE/permissions/user/4028ae289154667d0191546bd5840000`

`GET /rest/api/space/{spaceKey}/permissions/user/{userKey}`

**Responses**

- `200` — Returns a JSON representation of the space permissions granted to the user.
- `401` — Returned if the calling User is not authenticated.
- `403` — Returned if the calling User does not have necessary permission.
- `404` — Returned if the user with specified key not found.

Response example, 200:

```json
[
  {
    "operation": {
      "targetType": "space",
      "operationKey": "read"
    },
    "subject": {
      "displayName": "string",
      "type": "string"
    },
    "spaceKey": "string"
  }
]
```
