Space Roles
Set space role assignments
Sets space role assignments as specified in the payload. For each entry, if roleId is provided the principal is assigned to that role. If roleId is omitted, the role assignment for that principal is removed, if it exists.
Available on tenants with Role-Based Access Control.
Permissions required: Permission to manage roles in the space.
post/spaces/{id}/role-assignments
Request
- Base URLhttps://no-default/wiki/api/v2
- URLhttps://no-default/wiki/api/v2/spaces/{id}/role-assignments
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: write:space.permission:confluence
Path parameters
idinteger required
The ID of the space for which to retrieve assignments.
Request body
Response
Returned if the requested update to space role assignments succeeds in its entirety.
Changes
No recorded changes to this operation across all 5 revisions of this API.