Common

User Contact Delete

Markdown for LLMs
DELETE
/common/user/contact/{userContactId}/delete

Deletes one of the caller's contacts. Send its id as userContactId. The delete is permanent; a repeated delete answers 404 NOT_FOUND_BY_ID.

Sending an envelope to the same address later adds it back as a new contact.

Send a bearer token: contacts belong to the signed-in user, and a call without one is rejected at the gateway with 401 AUTHORIZATION_ERROR.

Authorization

AuthorizationBearer <token>

JWT token to authenticate the request.

In: header

X-Api-Key<token>

API key, sent as a request header.

In: header

Path Parameters

userContactId*string

Id of the contact to delete, as returned by common-user-contact-create or common-user-contact-list in id. Only the caller's own contacts can be addressed: another user's contact id answers 404 NOT_FOUND_BY_ID, as an unknown one does. Must be a GUID: a value that is not one matches no route and returns a bodiless 404. A well-formed id that matches none of the caller's contacts returns 404 NOT_FOUND_BY_ID.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/common/user/contact/4b0cc61e-b776-4d26-8439-f03749675d0a/delete"
{  "result": {    "statusCode": 200,    "message": "Deleted"  },  "origin": "DELETE https://api.doctavian.com/v1/common/user/contact/{userContactId}/delete",  "dateTime": "2026-10-16T11:42:18.000Z",  "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5",  "operationId": "46b200defd89efc25b5e028ccfb3e2e1"}
{  "error": {    "statusCode": 401,    "message": "Unauthorized",    "innerErrors": [      {        "code": "AUTHORIZATION_ERROR",        "message": "Authorization header is missing.",        "userMessage": "Authorization header is missing."      }    ]  },  "origin": "DELETE https://api.doctavian.com/v1/common/user/contact/{userContactId}/delete",  "dateTime": "2026-10-16T11:43:02.000Z"}
{  "error": {    "statusCode": 404,    "message": "Not Found",    "innerErrors": [      {        "code": "NOT_FOUND_BY_ID",        "message": "The specified resource was not found.",        "userMessage": "The specified user contact was not found with the Id: 4b0cc61e-b776-4d26-8439-f03749675d0a"      }    ],    "externalErrors": []  },  "origin": "DELETE https://api.doctavian.com/v1/common/user/contact/{userContactId}/delete",  "dateTime": "2026-10-16T11:43:06.000Z",  "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5",  "operationId": "9f6b2d0e4a8c43175c9e1b3d7f0a2e48"}
{  "error": {    "statusCode": 500,    "message": "Internal Server Error",    "innerErrors": [      {        "code": "FUNCTION_EXECUTION_ERROR",        "message": "Function execution failed.",        "userMessage": "Something went wrong while processing your request. Please try again or contact support.",        "eventId": "6a2e9c4b-1f7d-4053-8b0e-3d5c9a1f7e24"      }    ],    "externalErrors": []  },  "origin": "DELETE https://api.doctavian.com/v1/common/user/contact/{userContactId}/delete",  "dateTime": "2026-10-16T11:43:04.000Z",  "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5",  "operationId": "02104200c886a9f5433a84b3fc51616a"}