Rebrand 2023 Learn more 

  • Products/
    Extending Products/
    Product Attributes API/
    Delete an Attribute

    Delete an Attribute

    This endpoint is for Administrator use only. Do not use this endpoint on your customer-facing frontends.

    DELETE Delete an Attribute

    https://useast.api.elasticpath.com/v2/fields/:id
    

    Parameters

    Path parameters

    NameRequiredTypeDescription
    idRequiredstringThe unique identifier for the attribute that you want to delete.

    Headers

    NameRequiredTypeDescription
    AuthorizationRequiredstringThe Bearer token required to get access to the API.

    Request Example

    curl -X DELETE https://useast.api.elasticpath.com/v2/fields/:id \
        -H "Authorization: Bearer XXXX" \
        -H "Content-Type: application/json" \
    

    Response Example

    204 No Content

    Previous
    Update an Attribute