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

    Interface AddLabelWatcher

    interface AddLabelWatcher {
        accountId: string;
        key?: string;
        labelName: string;
        username?: string;
        "X-Atlassian-Token": string;
    }
    Index

    Properties

    accountId: string

    The accountId of the user to be added as a watcher. The accountId uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.

    key?: string

    This parameter is no longer available and will be removed from the documentation soon. Use accountId instead. See the deprecation notice for details.

    labelName: string

    The name of the label to add the watcher to.

    username?: string

    This parameter is no longer available and will be removed from the documentation soon. Use accountId instead. See the deprecation notice for details.

    "X-Atlassian-Token": string

    Note, you must add header when making a request, as this operation has XSRF protection.