update values
PUT /api/rest/admin/equipment/sip-options-probers/:id
Parameters
Name |
Description |
data[type]
|
Resource type (sip-options-probers)
|
data[id]
|
Sip Options Prober ID
|
data[attributes][name]
|
Name
|
data[attributes][ruri-username]
|
Ruri username
|
data[attributes][ruri-domain]
|
Ruri domain
|
data[attributes][append-headers]
|
Append headers
|
data[attributes][auth-password]
|
Auth password
|
data[attributes][auth-username]
|
Auth username
|
data[attributes][contact-uri]
|
Contact uri
|
data[attributes][enabled]
|
Enabled
|
data[attributes][from-uri]
|
From uri
|
data[attributes][interval]
|
Interval
|
data[attributes][proxy]
|
Proxy
|
data[attributes][sip-interface-name]
|
Sip interface name
|
data[attributes][sip-schema-id]
|
Sip schema id
|
data[attributes][to-uri]
|
To uri
|
data[attributes][created-at]
|
Created at
|
data[attributes][updated-at]
|
Updated at
|
data[attributes][external-id]
|
External id
|
data[relationships][transport-protocol]
|
Transport protocol
|
data[relationships][proxy-transport-protocol]
|
Proxy transport protocol
|
data[relationships][node]
|
Node
|
data[relationships][pop]
|
Pop
|
Request
Headers
Route
PUT /api/rest/admin/equipment/sip-options-probers/5
Body
{"data":{"type":"sip-options-probers","id":5,"attributes":{"name":"test_name"}}}
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "5",
"type": "sip-options-probers",
"links": {
"self": "http://example.org/api/rest/admin/equipment/sip-options-probers/5"
},
"attributes": {
"append-headers": null,
"auth-password": null,
"auth-username": null,
"contact-uri": null,
"enabled": true,
"from-uri": null,
"interval": 60,
"name": "test_name",
"proxy": null,
"ruri-domain": "4.sip.com",
"ruri-username": "username_4",
"sip-interface-name": null,
"sip-schema-id": 1,
"to-uri": null,
"created-at": "2024-11-14T09:55:56.394Z",
"updated-at": "2024-11-14T09:55:56.437Z",
"external-id": 4
},
"relationships": {
"node": {
"links": {
"self": "http://example.org/api/rest/admin/equipment/sip-options-probers/5/relationships/node",
"related": "http://example.org/api/rest/admin/equipment/sip-options-probers/5/node"
}
},
"pop": {
"links": {
"self": "http://example.org/api/rest/admin/equipment/sip-options-probers/5/relationships/pop",
"related": "http://example.org/api/rest/admin/equipment/sip-options-probers/5/pop"
}
},
"proxy-transport-protocol": {
"links": {
"self": "http://example.org/api/rest/admin/equipment/sip-options-probers/5/relationships/proxy-transport-protocol",
"related": "http://example.org/api/rest/admin/equipment/sip-options-probers/5/proxy-transport-protocol"
}
},
"transport-protocol": {
"links": {
"self": "http://example.org/api/rest/admin/equipment/sip-options-probers/5/relationships/transport-protocol",
"related": "http://example.org/api/rest/admin/equipment/sip-options-probers/5/transport-protocol"
}
}
}
}
}