Skip to main content
The Delete Link endpoint hard-deletes a prefilled checkout link. The row is removed from storage entirely. Donors who hit the URL afterwards will see the form without prefill applied — the link’s elementid query parameter resolves to nothing, but the form itself still loads. For a soft-delete that keeps the row visible in List Links under ?active=false and can be undone, use Deactivate instead.

Endpoint

DELETE https://0k90mc4jjj.execute-api.us-east-2.amazonaws.com/v1/forms/{formID}/links/{linkID}

Authentication

Authorization
string
required
Bearer token using your API key. Format: Bearer cs_live_your_key

Path parameters

formID
string
required
The parent form’s unique identifier.
The link’s unique identifier.

Response

204 No Content with an empty body on success.

Status codes

CodeDescription
204Link deleted.
401Missing or invalid API key.
403Link belongs to a different organization.
404No link found with the given ID, or not attached to the supplied formID (also returned if the link was already deleted).
500Internal error.

Example

cURL
curl -X DELETE https://0k90mc4jjj.execute-api.us-east-2.amazonaws.com/v1/forms/{formID}/links/{linkID} \
  -H "Authorization: Bearer cs_live_your_key"
Verify the delete with a follow-up Get Link — expect 404:
cURL
curl https://0k90mc4jjj.execute-api.us-east-2.amazonaws.com/v1/forms/{formID}/links/{linkID} \
  -H "Authorization: Bearer cs_live_your_key"
404 response
{ "error": "Link not found" }