commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Api-client → Delete ApiClient by ID

AI-generated

Summary

Delete an API client in the commercetools project by specifying its ID and current version number.

Inputs

  • Api-client ID (required) — The unique identifier of the API client to be deleted.
  • Version (required) — The current version number of the API client to ensure concurrency control during deletion.

Output shape

a single JSON object confirming the deletion or providing error details

Returns successful deletion response if the API client is deleted; errors are returned if the client does not exist or if the version is incorrect.

Examples

Example 1: Deleting an API client by ID

Set the Api-client ID to the target client's ID and set the Version to the current version of the client. The operation will delete that client from the commercetools project.

Links

Discussion