Skip to content

Delete a SIP user

DELETE
/v1/Accounts/{auth_id}/Sip/endpoint/{endpoint_id}
curl --request DELETE \
--url https://api.siprtc.io/v1/Accounts/example/Sip/endpoint/1 \
--header 'Authorization: Basic <credentials>'

Deletes one of your SIP users and removes it from the SIP registrar. Devices registered with it can no longer register or place calls.

auth_id
required
string

Auth ID of your account.

endpoint_id
required
integer

ID of the SIP user.

Deleted ({“status”: “endpoint deleted”}).

Media type application/json
object
status

Short description of what happened, for example “endpoint updated”, “endpoint deleted”, “sip domain updated” or “domain deleted”.

string

Example

{
"status": "endpoint updated"
}

Missing or wrong Basic-auth credentials (returned by the API gateway).

Media type application/json
string

Example generated

example

Endpoint_id is not a positive number (body “Invalid Request”).

Media type application/json
string

Example generated

example

No SIP user with this ID on your account, or the delete failed.

Media type application/json
object
errors

The error detail.

object
body

Error text as reported by the data store, for example “record not found”.

string

Example

{
"errors": {
"body": "record not found"
}
}