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

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

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

**Responses**

- `200` — Returns a JSON representation of all permissions granted to users/groups/anonymous user in specified space.
- `401` — Returned if the calling User is not authenticated.
- `403` — Returned if the calling User does not have necessary permission.

Response example, 200:

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