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

Gets the permissions granted to an anonymous user in a space

Returns list of permissions granted to anonymous user in the particular space.

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

GET/rest/api/space/{spaceKey}/permissions/anonymous
Path parameters
spaceKeystringrequired
Responses
200

Returns a JSON representation of the space permissions granted to the anonymous 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
Try it
Server
Parameters
Request
curl -X GET 'http://example.com:7990/confluence/rest/api/space/string/permissions/anonymous' \
  -H 'Accept: application/json'
Response
[
  {
    "operation": {
      "targetType": "space",
      "operationKey": "read"
    },
    "subject": {
      "displayName": "string",
      "type": "string"
    },
    "spaceKey": "string"
  }
]

Was this page helpful?