DELETE
/
v1
/
party-accounts
curl --request DELETE \
  --url https://live.copilot.fabric.inc/data-customer/v1/party-accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-site-context: <x-site-context>' \
  --data '{
  "accountId": "61241f96e901286a77c9db64",
  "partyId": "6123f1c6cbab9f51ccc420d3"
}'
{
  "message": "Association Removed"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Body

application/json
A sample request to delete a party account.
accountId
string
required

Fabric internal id for account

partyId
string
required

Fabric internal id for party

Response

200
application/json
OK
message
string
required

message of the response