Signatures

Signature Delete

Markdown for LLMs
DELETE
/signatures/signature/{signatureId}/delete

Deletes one of the caller's saved signatures. Send its id as signatureId. The delete is permanent.

Deleting the default signature leaves the caller with no default — no other saved signature is promoted. Set a new one with signatures-signature-update.

An id that matches none of the caller's saved signatures, including one already deleted, is rejected with 400 USER_SIGNATURE_ID_INVALID.

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

signatureId*string

Id of the saved signature to delete, as returned by signatures-signature-create or signatures-signature-list in id. Only the caller's own saved signatures can be addressed. Must be a GUID: a value that is not one matches no route and returns a bodiless 404.

Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/signatures/signature/4f1c9a2e-6b3d-4e87-9a05-c2d81e7f3b64/delete"
{  "result": {    "statusCode": 200,    "message": "Deleted"  },  "origin": "DELETE https://api.doctavian.com/v1/signatures/signature/{signatureId}/delete",  "dateTime": "2026-10-06T09:41:06.000Z",  "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5",  "operationId": "d9b5248d6ba3d5d927883fdd1bd634fd"}
{  "error": {    "statusCode": 400,    "message": "Bad Request",    "innerErrors": [      {        "code": "USER_SIGNATURE_ID_INVALID",        "message": "User signature with Id 4f1c9a2e-6b3d-4e87-9a05-c2d81e7f3b64 does not exist for the current user.",        "userMessage": "User signature with Id 4f1c9a2e-6b3d-4e87-9a05-c2d81e7f3b64 does not exist for the current user."      }    ],    "externalErrors": []  },  "origin": "DELETE https://api.doctavian.com/v1/signatures/signature/{signatureId}/delete",  "dateTime": "2026-10-16T07:12:31.000Z",  "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5",  "operationId": "2b8f4d1e7c0a43969d5e3b1f8a6c0d27"}
Empty
{  "error": {    "statusCode": 500,    "message": "Internal Server Error",    "innerErrors": [      {        "code": "SIGNATURE_DELETE_FAILED",        "message": "An error occurred while trying to delete the signature.",        "userMessage": "An error occurred while trying to delete the signature."      }    ],    "externalErrors": []  },  "origin": "DELETE https://api.doctavian.com/v1/signatures/signature/{signatureId}/delete",  "dateTime": "2026-10-16T07:12:34.000Z",  "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5",  "operationId": "3c8e1f6a0d2b4a97b4e5c9f0a1d7e862"}