Content Permissions
Set database permissions
Changed onReplaces all direct content permissions on a database with the provided set.
Permissions required: Permission to edit the database or administer the space.
put/databases/{id}/permissions
Request
- Base URLhttps://no-default/wiki/api/v2
- URLhttps://no-default/wiki/api/v2/databases/{id}/permissions
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: write:database:confluence
Path parameters
idinteger required
The ID of the database.
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 permissions are successfully replaced.
Changes
- info
endpoint added
- info