adobe-firefly-sdk
    Preparing search index...

    Type Alias PatchAssetRolesRequest

    PatchAssetRolesRequest

    Represents the request body for a patch operation on roles for an asset

    type PatchAssetRolesRequest = {
        direct: {
            additions?: {
                recipient: string;
                role: RoleEnums;
                type: PrincipalTypeEnums;
            }[];
            deletions?: { id?: PrincipalId; type?: PrincipalTypeEnums }[];
            updates?: { id: PrincipalId; role: RoleEnums; type: PrincipalTypeEnums }[];
        };
    }
    Index

    Properties

    Properties

    direct: {
        additions?: {
            recipient: string;
            role: RoleEnums;
            type: PrincipalTypeEnums;
        }[];
        deletions?: { id?: PrincipalId; type?: PrincipalTypeEnums }[];
        updates?: { id: PrincipalId; role: RoleEnums; type: PrincipalTypeEnums }[];
    }

    DirectRolesModification

    Type Declaration

    • Optionaladditions?: { recipient: string; role: RoleEnums; type: PrincipalTypeEnums }[]

      AdditionsList

      Represents a list of users or groups that are being granted role for an asset

    • Optionaldeletions?: { id?: PrincipalId; type?: PrincipalTypeEnums }[]

      DeletionsList

      Represents a list of users or groups that are being removed from the asset

    • Optionalupdates?: { id: PrincipalId; role: RoleEnums; type: PrincipalTypeEnums }[]

      UpdatesList

      Represents a list of users or groups with a new role