Retrieve a list of all Permissions applying to a Sync Map
TODO: Resource-level docs
Retrieve a list of all Permissions applying to a Sync Map.
Path parameters
-
The SID of the Sync Service with the Sync Map Permission resources to read. Can be the Service's
sid
value ordefault
. -
The SID of the Sync Map with the Permission resources to read. Can be the Sync Map resource's
sid
or itsunique_name
.
Query parameters
-
PageSize integer
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
.
GET /v1/Services/{ServiceSid}/Maps/{MapSid}/Permissions
curl \
-X GET https://sync.twilio.com/v1/Services/{ServiceSid}/Maps/{MapSid}/Permissions \
--user "username:password"
Response examples (200)
{
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
},
"permissions": [
{
"account_sid": "string",
"identity": "string",
"manage": true,
"map_sid": "string",
"read": true,
"service_sid": "string",
"url": "https://example.com",
"write": true
}
]
}
Response examples (200)
{
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
},
"permissions": [
{
"account_sid": "string",
"identity": "string",
"manage": true,
"map_sid": "string",
"read": true,
"service_sid": "string",
"url": "https://example.com",
"write": true
}
]
}