API Version: Development
System-Admin
or Company-Admin
permissions./rest/dialplan/link/
6.3.10+link forward fork unlink
It is not yet possible to set hotdesk links using this call, but a hotdesk link can be replaced or removed.
"type": "user",
	"scope": {
		"contact_id": contact-id,
		"uname": uname /* Ignored if contact_id provided */
	},
	"values": {
		"phones": {
			"phone-id": "link-type or 'unlink'",
			...
		},
		"extensions": {
			"extension_company" : order or null to unlink,
			...
		}
	}
numrows
indicates the number of individual changes actuallty applied:{
"result": "success",
"numrows": number of affected rows,
"values": {
"contact_id": contact-id,
"phones": {
"phone-id": "link type",
...
},
"extensions": {
"extension_company" : order,
...
}
}
}
{
"type": "user",
"scope": {
"contact_id": 123
},
"values": {
"phones": {
"020123456aba0": "link",
"04022876f1250": "link"
},
"extensions": {
"201_testco" : 0
}
}
}
{
"result": "success",
"numrows": 2,
"values": {
"contact_id": 123,
"phones": {
"020123456aba0": "link",
"04022876f1250": "link"
},
"extensions": {
"201_testco" : 0
}
}
}
/rest/dialplan/readlink/
6.3.10+link hotdesk forward fork
also, `"phone-id"` for linked devices may show `webrtc` or `mobrtc`
"type": "user",
	"scope": {
		"contact_id": contact-id,
		"uname": uname,
		"company": company/companies
	},
	"values": {
	}
{
	"result": "success",
	"values": [
		{
			"contact_id": contact-id,
			"phones": {
				"phone-id": "link type",
				...
			},
			"extensions": {
				"extension_company" : order,
				...
			}
		},
		...
	],
	"numrows": number of affected rows
}