API Reference
SIP Credentials

Revoke a SIP credential, or remove a revoked one

DELETE
/v1/numbers/{id}/sip-credentials/{credential_id}

Two steps, same endpoint.

On an active credential this revokes it. The account is deleted on the registrar first, which flushes any live registration — so the device stops working immediately rather than lasting until its current registration expires — and the row is kept, marked revoked, so it still appears in the list.

Called again on that revoked row, it removes the row for good.

The purge is deliberately gated on the row already being revoked. That is what guarantees the registrar account is gone: a one-step hard delete could leave an account still able to register that we no longer hold the handle to revoke.

Revoking frees the credential's slot against the per-number cap and releases its internal extension for reuse. Caller must have writer access to the workspace.

Authorization

bearerAuth
AuthorizationBearer <token>

Long-lived ES256 JWT minted from the dashboard (https://app.sautikit.com/developers/api-keys). Signed by the platform keyring. Carries workspace_id and scopes claims; revoked via the platform deny-list.

In: header

Path Parameters

id*string

Tenant number UUID.

Formatuuid
credential_id*string

SIP credential UUID.

Formatuuid

Response Body

application/json

curl -X DELETE "https://example.com/v1/numbers/497f6eca-6276-4993-bfeb-53cbbbba6f08/sip-credentials/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string",    "details": [      "string"    ]  }}