DELETE Delete an Option
You can only delete an option that is not in use. If you delete an option in use, a
422 Failed Validation error message is returned. Deleting an option deletes all modifiers associated with that option.
|Required||The ID of the variation that consists of the option.|
|Required||The ID of the option that you want to delete.|
|Required||The Bearer token required to get access to the API.|
Request Example - Curl
curl -X DELETE https://api.moltin.com/pcm/variations/684bceee-0ee3-4f43-ac32-50bb44c1eee5/options/39148bc3-3028-4196-9350-1b4ac927c9d6 \ -H "Authorization: Bearer XXXX"
204 No Content