curl --request POST \
--url https://api.traxes.io/connect/v1/entities/{entityId}/permissions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"permissionLevel": "Viewer",
"principalId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'