Path parameters
-
The unique string created by Twilio to identify the End User resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IT[0-9a-fA-F]{32}$
.
POST
/v1/EndUsers/{Sid}
curl \
--request POST 'https://trusthub.twilio.com/v1/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://trusthub.twilio.com/v1/EndUsers/ITaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"type": "authorized_representative_1",
"attributes": {
"email": "foobar@test.com",
"last_name": "test",
"first_name": "rep1",
"job_position": "CEO",
"phone_number": "+11234567890",
"business_title": "ceo"
},
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2021-02-16T20:40:57Z",
"date_updated": "2021-02-16T20:40:57Z",
"friendly_name": "friendly_name"
}