SDK / API ReferenceSellers
Delete Endpoint
Soft-delete a paid endpoint
Scope: payments:accept
Marks the endpoint inactive. Future payments at the URL still record (with endpoint: null on the payment row) but no webhooks fire and counters stop incrementing. Historical payment data is preserved.
Admin endpoint — currently only available via REST or the Console UI.
Request
curl -X DELETE https://api.loomal.ai/v0/sellers/endpoints/se_abc123 \
-H "Authorization: Bearer loid-your-api-key"Response — 204 No Content
Empty body.
Errors
| Status | Cause |
|---|---|
| 401 | Missing or invalid Authorization |
| 403 | API key lacks payments:accept scope |
| 404 | No endpoint with that ID owned by this Identity |
Re-registering
To re-activate the URL, call PUT /v0/sellers/endpoints with the same urlPattern. A new endpoint row is created (existing inactive row stays as audit trail).