curl --location --request PATCH 'https://api.tenbyte.io/members/9f0dffd9-ef84-47d5-b3ad-fdd9e9ae8eb3/permissions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"permissions": [
{
"entity_id": "d932c659-7ae8-4c84-aad5-8e23b275947d",
"entity_type": "organizations",
"name": "distribution",
"action": "write+read+delete",
"service": "cdn"
},
{
"entity_id": "ab262a90-3e1d-4a71-ac52-b0c76d7af467",
"entity_type": "organizations",
"name": "billing",
"action": "read",
"service": "billing"
},
{
"entity_id": "ab262a90-3e1d-4a71-ac52-b0c76d7af467",
"entity_type": "organizations",
"name": "member",
"action": "write+read",
"service": "account"
}
]
}'