Modify SIP User

Modify SIP User

PATCH https://api.opentact.org/rest/sip/domain/{domain}/user/{uuid}

This API is used to Modify SIP User

Query Parameters

NameTypeDescription

Is_Active

String

This field is used to enable and disable the SIP user.

Email

String

This field is used to change the Email of the sip user

Last_name

String

This field is used to change the Last_name of the sip user

First_name

String

This field is used to change the First_name of the sip user

Password

String

This field is used to change the password for the SIP user

Phone_number

Number

This field is used to change the Phone_number of the sip user

Tn_lease

UUID

This field is used to Add the Tn_lease to the sip user

Dob

Number

This field is used to change the DOB of the sip user

same_domain_calls_only

Boolean

This field is used to add the same domain call to the sip user

Gender

String

This field is used to change the Gender of the sip user

Headers

NameTypeDescription

X-Auth-Token*

String

JWT token

{
  "success": true,
  "payload": {
    "uuid": "0116f6d1-1280-44b2-9134-da48509ec575",
    "email": "info@opentact.org",
    "state": "online",
    "is_active": true,
    "created_on": "2022-12-29T13:17:57.745Z",
    "modified_on": "2022-12-29T13:17:57.745Z",
    "phone_number": "+1234567890",
    "dob": "2022-12-29T13:17:57.745Z",
    "avatar": "https://google/image.png",
    "first_name": "First Name",
    "last_name": "Last Name",
    "gender": "Female",
    "login": "login_name",
    "sip_domain": {
      "domain": "abc.sip.opentact.org",
      "created_on": "2022-12-29T13:17:57.745Z",
      "modified_on": "2022-12-29T13:17:57.745Z"
    },
    "same_domain_calls_only": false,
    "groups": []
  }
}

Last updated