commercetools icon

commercetools

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

Actions671

Associate-role → Delete AssociateRole by ID

AI-generated

Summary

Delete an Associate-role in commercetools by specifying its unique ID and current version.

Inputs

  • Associate-role ID (required) — The unique identifier of the Associate-role to delete.
  • Version (required) — The current version number of the Associate-role, required for concurrency control during deletion.

Output shape

a JSON object representing the deleted Associate-role or an error response

The operation returns the deleted Associate-role's data in JSON format if successful. If the Associate-role does not exist or the version is incorrect, an error is returned.

Examples

Example 1: Delete an Associate-role with ID '12345' and version 3

Set Associate-role ID to '12345' and Version to 3. The node will delete the Associate-role having that ID at version 3.

Links

Discussion