interface ContentRestrictionUpdate {
    operation: string;
    restrictions: {
        group?: {
            name: string;
            type: string;
        }[];
        user?: {
            accountId: string;
            type: string;
            userKey?: string;
            username?: string;
        }[];
    };
}

Properties

operation: string

The restriction operation applied to content.

restrictions: {
    group?: {
        name: string;
        type: string;
    }[];
    user?: {
        accountId: string;
        type: string;
        userKey?: string;
        username?: string;
    }[];
}

The users/groups that the restrictions will be applied to. At least one of user or group must be specified for this object.

Type declaration

  • Optional group?: {
        name: string;
        type: string;
    }[]

    The groups that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.

  • Optional user?: {
        accountId: string;
        type: string;
        userKey?: string;
        username?: string;
    }[]

    The users that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.

Generated using TypeDoc v0.25.12