UpdatePolicyRequest: {
    applicationId?: string;
    description?: string;
    groupId?: string;
    name?: string;
    noPrincipal?: boolean;
    policyId: string;
    tags?: string[];
    userId?: string;
}

Type declaration

  • OptionalapplicationId?: string

    New ID of application attributed to the policy.

    One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.

  • Optionaldescription?: string

    New description of policy (max length is 200 characters).

  • OptionalgroupId?: string

    New ID of group attributed to the policy.

    One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.

  • Optionalname?: string

    New name for the policy (max length is 64 characters).

  • OptionalnoPrincipal?: boolean

    Defines whether or not the policy is attributed to a principal.

    One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.

  • policyId: string

    Id of policy to update.

  • Optionaltags?: string[]

    New tags for the policy (maximum of 10 tags).

  • OptionaluserId?: string

    New ID of user attributed to the policy.

    One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.