Interface ConfluenceRestClientSpacePermissionsApi


@Generated("io.github.primelib.primecodegen") public interface ConfluenceRestClientSpacePermissionsApi
ConfluenceRestClientSpacePermissionsApi
  • Method Details

    • PostSpaceBySpaceKeyPermissionV1

      SpacePermissionV2 PostSpaceBySpaceKeyPermissionV1(@NotNull @NotNull String spaceKey, @NotNull @NotNull Map<String,Object> payload)
      PostSpaceBySpaceKeyPermissionV1 Add new permission to space Adds new permission to space. If the permission to be added is a group permission, the group can be identified by its group name or group id. Note: Apps cannot access this REST resource - including when utilizing user impersonation. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Admin' permission for the space.
      Parameters:
      spaceKey - The key of the space to be queried for its content.
      payload - The permission to be created.
    • PostSpaceBySpaceKeyPermissionCustomContentV1

      void PostSpaceBySpaceKeyPermissionCustomContentV1(@NotNull @NotNull String spaceKey, @NotNull @NotNull SpacePermissionCustomContent payload)
      PostSpaceBySpaceKeyPermissionCustomContentV1 Add new custom content permission to space Adds new custom content permission to space. If the permission to be added is a group permission, the group can be identified by its group name or group id. Note: Only apps can access this REST resource and only make changes to the respective app permissions. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Admin' permission for the space.
      Parameters:
      spaceKey - The key of the space to be queried for its content.
      payload - The permissions to be created.
    • DeleteSpaceBySpaceKeyPermissionByIDV1

      void DeleteSpaceBySpaceKeyPermissionByIDV1(@NotNull @NotNull String spaceKey, @NotNull @NotNull Long id)
      DeleteSpaceBySpaceKeyPermissionByIDV1 Remove a space permission Removes a space permission. Note that removing Read Space permission for a user or group will remove all the space permissions for that user or group. Note: Apps cannot access this REST resource - including when utilizing user impersonation. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Admin' permission for the space.
      Parameters:
      spaceKey - The key of the space to be queried for its content.
      id - Id of the permission to be deleted.