API Version: 6.4
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,
...
}
}
}
/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
}