Fetch a specific Sync Document Permission

GET /v1/Services/{ServiceSid}/Documents/{DocumentSid}/Permissions/{Identity}

Sync document permissions

Fetch a specific Sync Document Permission.

Path parameters

  • ServiceSid string Required

    The SID of the Sync Service with the Document Permission resource to fetch.

  • DocumentSid string Required

    The SID of the Sync Document with the Document Permission resource to fetch. Can be the Document resource's sid or its unique_name.

  • Identity string Required

    The application-defined string that uniquely identifies the User's Document Permission resource to fetch.

Responses

  • OK

    Hide response attributes Show response attributes object
    • 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}$.

    • document_sid string | null

      The Sync Document SID

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

    • identity string | null

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

    • 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 Document Permission resource

    • write boolean | null

      Write access

GET /v1/Services/{ServiceSid}/Documents/{DocumentSid}/Permissions/{Identity}
curl \
 -X GET https://sync.twilio.com/v1/Services/{ServiceSid}/Documents/{DocumentSid}/Permissions/{Identity} \
 --user "username:password"
Response examples (200)
{
  "account_sid": "string",
  "document_sid": "string",
  "identity": "string",
  "manage": true,
  "read": true,
  "service_sid": "string",
  "url": "https://example.com",
  "write": true
}
Response examples (200)
{
  "account_sid": "string",
  "document_sid": "string",
  "identity": "string",
  "manage": true,
  "read": true,
  "service_sid": "string",
  "url": "https://example.com",
  "write": true
}