Delete a membership profile

How to delete an existing membership profile via API

To delete a membership profile, send a DELETE request to the /api/membership_profiles/:id endpoint, where id is the id of the membership profile that you want to delete.

Request

DELETE https://provisioning.commercelayer.io/api/membership_profiles/:id

Example

The following request tries to delete the membership profile identified by the ID "xYZkjABcde":

curl -g -X DELETE \
  'https://provisioning.commercelayer.io/api/membership_profiles/xYZkjABcde' \
  -H 'Accept: application/vnd.api+json' \
  -H 'Authorization: Bearer {{your_access_token}}'

Last updated