Skip to main content

updateCustomAttribute

form schema

Replace the closed set of values for an existing custom attribute.

Changing values does not retroactively validate or rewrite resources that were tagged before this update. Subsequent writes (and policy conditions referencing this key) must use a value from the new set. Requires the organization:manage action.

updateCustomAttribute(
organizationId: ID!
id: UUID!
input: UpdateCustomAttributeInput!
): CustomAttributePayload

Form Schema

This mutation supports dynamic form generation using JSON Schema.

Loading schema...

Arguments

updateCustomAttribute.organizationId ● ID! non-null scalar {#organization-id}

Your organization's unique identifier.

updateCustomAttribute.id ● UUID! non-null scalar {#id}

The identifier of the custom attribute to update.

updateCustomAttribute.input ● UpdateCustomAttributeInput! non-null input {#input}

Replace the closed set of values for an existing custom attribute. The key and scope are immutable.

Type

CustomAttributePayload object