curl --location --request PUT 'https://awqacore01.crexendocloud.com/ns-api/v2/deviceprofiles/Grandstream/WP826' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"profile-page-count": 2,
"buttons": [
{
"profile-button-index": 1,
"profile-button-type": "line_only",
"profile-button-position": "[1650,615]",
"profile-button-settings": ""
},
{
"profile-button-index": 2,
"profile-button-type": "line_only",
"profile-button-position": "[1765,615]",
"profile-button-settings": ""
},
{
"profile-button-index": 3,
"profile-button-type": "line_only",
"profile-button-position": "[1880,615]",
"profile-button-settings": ""
},
{
"profile-button-index": 4,
"profile-button-type": "mpk",
"profile-button-position": "[1788,1823]",
"profile-button-settings": ""
}
]
}'