commercetools icon

commercetools

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

Actions671

Associate-role → Delete AssociateRole by Key

AI-generated

Summary

Delete an Associate-role in commercetools identified by its key and version number.

Inputs

  • Associate-role Key (required) — The unique key of the Associate-role to delete.
  • Version (required) — The current version of the Associate-role to ensure concurrency control during deletion.

Output shape

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

Requires the Associate-role's key and version; the operation performs an HTTP DELETE request to the commercetools API and returns the deleted resource's data. Errors are returned if the resource does not exist or version conflicts occur.

Examples

Example 1: Delete an Associate-role with key 'role-123' at version 4.

Set 'Associate-role Key' to 'role-123' and 'Version' to 4.

Links

Discussion