Content Permissions
Set folder restriction state
Changed onSets the restriction state of a folder.
Permissions required: Permission to edit the folder or administer the space.
put/folders/{id}/restriction-state
Request
- Base URLhttps://no-default/wiki/api/v2
- URLhttps://no-default/wiki/api/v2/folders/{id}/restriction-state
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: write:folder:confluence
Path parameters
idinteger required
The ID of the folder.
Query parameters
allow-self-lockoutboolean
If false (default), the request is rejected when it would remove the calling user's own edit access. Set to true to allow the operation even when it locks out the caller.
Request body
Response
Returned if the state was successfully updated.
Changes
- info
endpoint added
- info