Delete a vertex account

How to delete an existing vertex account via API

To delete a vertex account, send a DELETE request to the /api/vertex_accounts/:id endpoint, where id is the id of the vertex account that you want to delete.

Request

DELETE https://yourdomain.commercelayer.io/api/vertex_accounts/:id

Example

The following request tries to delete the vertex account identified by the ID "xYZkjABcde":

curl -g -X DELETE \
  'https://yourdomain.commercelayer.io/api/vertex_accounts/xYZkjABcde' \
  -H 'Accept: application/vnd.api+json' \
  -H 'Authorization: Bearer your-access-token'

Last updated