Delete Contact

Request Information
URL DELETE {{basepath}}/contact/:id
CategoryREPP-Contact

Description

Deletes a contact

Expects a ContactDeleteRequest object.

Returns a ContactDeleteResponse object.

Url variables
:idMET_1k7060d6488298550d79

Example responses

Contact delete success
Request Method & URL
DELETE {{basepath}}/contact/:id
Query parameters
statusnewThe status to look for : available,unavailable,new,delete
start0Where to start from
limit10How many to retrieve min 1 max 50
domainnameasdfghjkl.ioThe domainname to look for
Url variables
:idMET_1k7060d6488298550d79
Response Code:
200 OK
Response Body:
{
    "responseId": "mapi1_715bbf2570c6e6031decc9ef053aa36203f58d2d",
    "status": "ok",
    "message": "Command completed successfully"
}
Contact does not exist
Request Method & URL
DELETE {{basepath}}/contact/:id
Query parameters
statusnewThe status to look for : available,unavailable,new,delete
start0Where to start from
limit10How many to retrieve min 1 max 50
domainnameasdfghjkl.ioThe domainname to look for
Url variables
:idMET_1k7060d648828c9ba3fa
Response Code:
404 Not Found
Response Body:
{
    "responseId": "mapi1_0f636b36305c2dd7d790c4809997a94cb70737b9",
    "status": "error",
    "errorCode": "epp-2303",
    "errorMessage": "Object does not exist; The contact with handle MET_1k7060d64882886900b3 does not exist in your account"
}
Contact in use
Request Method & URL
DELETE {{basepath}}/contact/:id
Query parameters
statusnewThe status to look for : available,unavailable,new,delete
start0Where to start from
limit10How many to retrieve min 1 max 50
domainnameasdfghjkl.ioThe domainname to look for
Url variables
:idMET_1k7060d648828c9ba3fa
Response Code:
409 Conflict
Response Body:
{
    "responseId": "mapi1_2bedd049eeeb3b129ee3e6d3d27c517c37041e08",
    "status": "error",
    "errorCode": "epp-2305",
    "errorMessage": "Object association prohibits operation; The contact with handle MET_1k7060d648828c9ba3fa is still used"
}