curl --request DELETE \
--url https://api.artemis.cynopsis.co/api/customer/{customerId}/crp/{crpId} \
--header 'Authorization: <authorization>' \
--header 'X-Domain-ID: <x-domain-id>'curl --request DELETE \
--url https://api.artemis.cynopsis.co/api/customer/{customerId}/crp/{crpId} \
--header 'Authorization: <authorization>' \
--header 'X-Domain-ID: <x-domain-id>'customerId — The Primary Customer’s ID.
crpId — The Customer Related Party ID to be deleted.
import requests
base_url = "https://api.artemis.cynopsis.co/api/customer/{customerId}/crp/{crpId}"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer <YOUR_TOKEN>",
"X-Domain-ID": "<x-domain-id>"
}
customers = [
({customer_id}, {crpId})
]
for customerId, crpId in customers:
url = base_url.format(customerId=customerId, crpId=crpId)
print("Sending DELETE →", url)
response = requests.delete(url, headers=headers)
print("Status:", response.status_code)
Domain identifier
"1"
Bearer access token
"Bearer eyJhbGciOi..."
Primary Customer ID
68
Customer Related Party (CRP) ID
31691
CRP deleted successfully