Update an existing End User.

POST /v2/RegulatoryCompliance/EndUsers/{Sid}

Update an existing End User.

Path parameters

  • Sid string Required

    The unique string created by Twilio to identify the End User resource.

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

application/x-www-form-urlencoded

Body

  • FriendlyName string

    The string that you assigned to describe the resource.

  • Attributes

    The set of parameters that are the attributes of the End User resource which are derived End User Types.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • sid string | null

      The unique string created by Twilio to identify the End User resource.

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

    • account_sid string | null

      The SID of the Account that created the End User resource.

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

    • friendly_name string | null

      The string that you assigned to describe the resource.

    • type string

      The type of end user of the Bundle resource - can be individual or business.

      Values are individual or business.

    • attributes object | null

      The set of parameters that are the attributes of the End Users resource which are listed in the End User Types.

    • date_created string(date-time) | null

      The date and time in GMT when the resource was created specified in ISO 8601 format.

    • date_updated string(date-time) | null

      The date and time in GMT when the resource was last updated specified in ISO 8601 format.

    • url string(uri) | null

      The absolute URL of the End User resource.

POST /v2/RegulatoryCompliance/EndUsers/{Sid}
curl \
 --request POST 'https://numbers.twilio.com/v2/RegulatoryCompliance/EndUsers/{Sid}' \
 --user "username:password" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'Attributes=%7B%7D&FriendlyName=friendly_name'
Request example
{"Attributes"=>"{}", "FriendlyName"=>"friendly_name"}
Response examples (200)
{
  "sid": "ITaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "url": "https://numbers.twilio.com/v2/RegulatoryCompliance/EndUsers/ITaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "type": "individual",
  "attributes": {
    "email": "foobar@twilio.com"
  },
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "date_created": "2019-07-30T21:57:45Z",
  "date_updated": "2019-07-30T21:57:45Z",
  "friendly_name": "friendly_name"
}