Hierarchy

  • CommonHttpService
    • SpacePermissionsService

Constructors

  • Internal

    Create a new instance of the service.

    Parameters

    • getClientInstance: (() => CommonHttpClient)
        • (): CommonHttpClient
        • Returns CommonHttpClient

    Returns SpacePermissionsService

Methods

  • 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 required: 'Admin' permission for the space.

    Parameters

    • params: {
          id: number;
          spaceKey: string;
      }
      • id: number

        Id of the permission to be deleted.

      • spaceKey: string

        The key of the space to be queried for its content.

    Returns Promise<void>

    DELETE /wiki/rest/api/space/{spaceKey}/permission/{id} @scopes-current write:space.permission:confluence

  • Method to initialize the class. Normally used to set up validation rules.

    Returns void