InternalCreate a new instance of the service.
Create a space role.
Permissions required: User must be an organization or site admin. Connect and Forge app users are not authorized to access this resource.
Returned if the requested space role is created.
Delete a space role
Permissions required: User must be an organization or site admin. Connect and Forge app users are not authorized to access this resource.
Id of the space role
Returned if the deletion of the space role was accepted.
Retrieves the available space roles.
Permissions required: Permission to access the Confluence site; if requesting a certain space's roles, permission to view the space.
Optionalcursor?: stringUsed for pagination, this opaque cursor will be returned in the next URL in
the Link response header. Use the relative URL in the Link header to
retrieve the next set of results.
Optionallimit?: numberMaximum number of space roles to return. If more results exist, use the Link
response header to retrieve a relative URL that will return the next set of
results.
OptionalprincipalThe principal ID to filter results by. If specified, a principal-type must also
be specified. Paired with a principal-type of ACCESS_CLASS, valid values
include [anonymous-users, jsm-project-admins, authenticated-users,
all-licensed-users, all-product-admins]
OptionalprincipalThe principal type to filter results by. If specified, a principal-id must also be specified.
OptionalroleThe space role type to filter results by.
OptionalspaceThe space ID for which to filter available space roles; if empty, return all available space roles for the tenant.
Returned if the requested space roles are retrieved.
Retrieves the space role assignments.
Permissions required: Permission to view the space.
Optionalcursor?: stringUsed for pagination, this opaque cursor will be returned in the next URL in
the Link response header. Use the relative URL in the Link header to
retrieve the next set of results.
The ID of the space for which to retrieve assignments.
Optionallimit?: numberMaximum number of space roles to return. If more results exist, use the Link
response header to retrieve a relative URL that will return the next set of
results.
OptionalprincipalFilters the returned role assignments to the provided principal id. If
specified, a principal-type must also be specified. Paired with a
principal-type of ACCESS_CLASS, valid values include [anonymous-users,
jsm-project-admins, authenticated-users, all-licensed-users,
all-product-admins]
OptionalprincipalFilters the returned role assignments to the provided principal type. If specified, a principal-id must also be specified.
OptionalroleFilters the returned role assignments to the provided role ID.
OptionalroleFilters the returned role assignments to the provided role type.
Returned if the requested space role assignments are retrieved.
Retrieves the space role mode.
Permissions required: Permission to access the Confluence site ('Can use' global permission).
Returned if the requested space role mode is returned.
Retrieves the space role by ID.
Permissions required: Permission to access the Confluence site.
The ID of the space role to retrieve.
Returned if the requested space role is retrieved.
Sets space role assignments as specified in the payload.
Permissions required: Permission to manage roles in the space.
The ID of the space for which to retrieve assignments.
Returned if the requested update to space role assignments succeeds in its entirety.
Update a space role.
Permissions required: User must be an organization or site admin. Connect and Forge app users are not authorized to access this resource.
Id of the space role
Returned if the update of the space role was accepted.
Protected Staticinitialize
See
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles