DELETE
/
api
/
v1
/
attributes
/
{target}
/
{targetId}
/
{attributeId}
/
status
/
{statusId}
curl --request DELETE \
  --url https://api.zixflow.com/api/v1/attributes/{target}/{targetId}/{attributeId}/status/{statusId} \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "Attribute status deleted successfully."
}

Description

This API endpoint facilitates the removal of a specific status option within a status 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 status attribute containing the status option to be deleted.

statusId
string
required

The unique identifier for the status option to be deleted.

Response

status
boolean

Indicates the success or failure of the status 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 status option with the message “Attribute status deleted successfully.”