Confluence.js - Cloud and Server API library
    Preparing search index...

    Interface SpacePermissionV2

    This object represents a single space permission. Permissions consist of* at least one operation object with an accompanying subjects object.

    The following combinations of operation.key and operation.target values are valid for the operation object:

    'create': 'page', 'blogpost', 'comment', 'attachment'
    'read': 'space'
    'delete': 'page', 'blogpost', 'comment', 'attachment'
    'export': 'space'
    'administer': 'space'
    interface SpacePermissionV2 {
        _links?: GenericLinks;
        id?: number;
        operation: { key: string; target: string };
        subject: PermissionSubject;
    }
    Index

    Properties

    _links?: GenericLinks
    id?: number
    operation: { key: string; target: string }

    Type declaration

    • key: string
    • target: string

      The space or content type that the operation applies to.