Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get all space permissions

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
Path parameters
spaceKeystringrequired
Responses
200

Returns a JSON representation of all permissions granted to users/groups/anonymous user in specified space.

Array of SpacePermission
operationOperationDescription
Show properties
targetTypestring
operationKeystring
subjectSubject
Show properties
displayNamestring
typestring
spaceKeystring
401

Returned if the calling User is not authenticated.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
403

Returned if the calling User does not have necessary permission.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
Try it
Server
Parameters
Request
curl -X GET 'http://example.com:7990/confluence/rest/api/space/string/permissions' \
  -H 'Accept: application/json'
Response
[
  {
    "operation": {
      "targetType": "space",
      "operationKey": "read"
    },
    "subject": {
      "displayName": "string",
      "type": "string"
    },
    "spaceKey": "string"
  }
]

Was this page helpful?