Update an identity's access to a specific Sync List.
Permissions for Sync list items
Update an identity's access to a specific Sync List.
Path parameters
-
The SID of the Sync Service with the Sync List Permission resource to update.
-
The SID of the Sync List with the Sync List Permission resource to update. Can be the Sync List resource's
sid
or itsunique_name
. -
The application-defined string that uniquely identifies the User's Sync List Permission resource to update.
POST
/v1/Services/{ServiceSid}/Lists/{ListSid}/Permissions/{Identity}
curl \
--request POST 'https://sync.twilio.com/v1/Services/{ServiceSid}/Lists/{ListSid}/Permissions/{Identity}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Read=true&Write=true&Manage=true'
Request example
{"Read"=>"true", "Write"=>"true", "Manage"=>"true"}
Response examples (200)
{
"url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Lists/ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Permissions/identity",
"read": true,
"write": true,
"manage": true,
"identity": "identity",
"list_sid": "ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}