DELETE
/
api
/
v1
/
attributes
/
{target}
/
{targetId}
/
{attributeId}
/
options
/
{optionId}

Description

This API endpoint facilitates the removal of a specific option within a select/multiselect attribute by providing the necessary identifiers based on the target, whether it’s a collection or a list.

Path

target
string
required

Specifies the target entity as either “collection” or “list.”

targetId
string
required

The unique identifier for the target entity (collection or list), allowing for precise referencing.

attributeId
string
required

The unique identifier for the select/multiselect attribute containing the option to be deleted.

optionId
string
required

The unique identifier for the option to be deleted.

Response

status
boolean

Indicates the success or failure of the option deletion. In this case, true signifies a successful operation.

message
string

Provides a human-readable message accompanying the response. In this instance, it confirms the successful deletion of the option with the message “Attribute option deleted successfully.”