Retrieve a list of all Permissions applying to a Sync List

GET /v1/Services/{ServiceSid}/Lists/{ListSid}/Permissions

Permissions for Sync list items

Retrieve a list of all Permissions applying to a Sync List.

Path parameters

  • ServiceSid string Required

    The SID of the Sync Service with the Sync List Permission resources to read.

  • ListSid string Required

    The SID of the Sync List with the Sync List Permission resources to read. Can be the Sync List resource's sid or its unique_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 is 1000.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • meta object
      Hide meta attributes Show meta attributes
    • permissions array[object]
      Hide permissions attributes Show permissions attributes
      • account_sid string | null

        The SID of the Account that created the resource

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

      • identity string | null

        The identity of the user to whom the Sync List Permission applies

      • list_sid string | null

        The SID of the Sync List to which the Permission applies

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^ES[0-9a-fA-F]{32}$.

      • manage boolean | null

        Manage access

      • read boolean | null

        Read access

      • service_sid string | null

        The SID of the Sync Service that the resource is associated with

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^IS[0-9a-fA-F]{32}$.

      • url string(uri) | null

        The absolute URL of the Sync List Permission resource

      • write boolean | null

        Write access

GET /v1/Services/{ServiceSid}/Lists/{ListSid}/Permissions
curl \
 -X GET https://sync.twilio.com/v1/Services/{ServiceSid}/Lists/{ListSid}/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",
      "list_sid": "string",
      "manage": true,
      "read": true,
      "service_sid": "string",
      "url": "https://example.com",
      "write": true
    }
  ]
}