Delete a recipient

Delete a recipient

URI

DELETE

https://api.tryduplo.com/v1/recipients/:business_id/:recipient_ref?expand=true

Parameters

Authorization string

set value to Bearer SECRET_KEY

Path Param

business_id string required

Bussiness ID

recipient _ref string

Recipient reference

Query Param

expand boolean

Expand the recipient details

Sample request

curl --location --request DELETE 'https://api.tryduplo.com/v1/recipients/7e7e0728-74a7-41ce-8a05-310e3e2eba4c/rec_W24rwr3r3rwew3?expand=true'

Duplo Response

{
    "data": {},
    "errors": {},
    "message": "Request successful"
}

Last updated