Class ConfluenceRestClientSpacePermissionsConsumerApi

java.lang.Object
io.github.primelib.confluence4j.rest.v1.client.ConfluenceRestClientSpacePermissionsConsumerApi

@Generated("io.github.primelib.primecodegen") public class ConfluenceRestClientSpacePermissionsConsumerApi extends Object
ConfluenceRestClientSpacePermissionsConsumerApi
  • Constructor Details

  • Method Details

    • PostSpaceBySpaceKeyPermissionV1

      public SpacePermissionV2 PostSpaceBySpaceKeyPermissionV1(Consumer<PostSpaceBySpaceKeyPermissionV1OperationSpec> spec)
      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:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • spaceKey: The key of the space to be queried for its content.
      • payload: The permission to be created.
    • PostSpaceBySpaceKeyPermissionCustomContentV1

      public void PostSpaceBySpaceKeyPermissionCustomContentV1(Consumer<PostSpaceBySpaceKeyPermissionCustomContentV1OperationSpec> spec)
      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:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • spaceKey: The key of the space to be queried for its content.
      • payload: The permissions to be created.
    • DeleteSpaceBySpaceKeyPermissionByIDV1

      public void DeleteSpaceBySpaceKeyPermissionByIDV1(Consumer<DeleteSpaceBySpaceKeyPermissionByIDV1OperationSpec> spec)
      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:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • spaceKey: The key of the space to be queried for its content.
      • id: Id of the permission to be deleted.