Grants space permissions to anonymous user
Grant permissions to anonymous user in the given space. Operation doesn’t override existing permissions, will only add those one that weren’t granted before. Multiple permissions could be passed in one request. Supported targetType and operationKey pairs:
- space read
- space administer
- space export
- space restrict
- space delete_own
- space delete_mail
- page create
- page delete
- blogpost create
- blogpost delete
- comment create
- comment delete
- attachment create
- attachment delete
See <a href=“https://confluence.atlassian.com/display/DOC/Space+Permissions+Overview">Space Permissions documentation</a> for additional information about supported permissions.
Example request URI’s:
https://example.com/confluence/rest/api/space/TESTSPACE/permissions/anonymous/grant
/rest/api/space/{spaceKey}/permissions/anonymous/grantspaceKeystringrequiredapplication/jsonOperationDescriptiontargetTypestringoperationKeystringSpace permissions successfully granted to anonymous user.
Returned if incorrect permissions are passed in request (for e.g. non existing operation or global permission).
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstringReturned if the calling User is not authenticated.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstringReturned if the calling User does not have necessary permission.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring