Skip to main content

attributeDelete

Permanently delete an attribute and all associated data from the system.

Removes the attribute completely including its values, metadata, and entity associations. This is a destructive operation that cannot be undone and will permanently remove the attribute data.

The deletion process:

  • Removes the attribute record and all associated data
  • Cleans up any references or relationships
  • Maintains data integrity across the system
  • Cannot be reversed once completed

Use with caution as this operation permanently removes attribute data.

Possible errors:

  • ATTRIBUTE_NOT_FOUND: Attribute with the specified ID does not exist
  • ATTRIBUTE_DELETE: Failed to delete the attribute due to system error
  • FORBIDDEN: Insufficient permissions

AUTH: Role=[product.OWNER,product.EDITOR,user.OWNER,user.EDITOR]

attributeDelete(
id: String!
): Boolean!

Arguments​

attributeDelete.id ● String! non-null scalar​

Unique identifier of the attribute to delete.

Must be a valid UUID format representing an existing attribute in the system. The attribute must be accessible within the current context and permissions.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.