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

Gets the permissions granted to a user in a space

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

Returns a JSON representation of the space permissions granted to the user.

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
404

Returned if the user with specified key not found.

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/user/string' \
  -H 'Accept: application/json'
Response
[
  {
    "operation": {
      "targetType": "space",
      "operationKey": "read"
    },
    "subject": {
      "displayName": "string",
      "type": "string"
    },
    "spaceKey": "string"
  }
]

Was this page helpful?