Update an existing frontline user
A User resource represents a frontline user.
Update an existing frontline user
Path parameters
-
The SID of the User resource to update. This value can be either the
sid
or theidentity
of the User resource to update.
Body
-
Avatar string
The avatar URL which will be shown in Frontline application.
-
FriendlyName string
The string that you assigned to describe the User.
-
IsAvailable boolean
Whether the User is available for new conversations. Set to
false
to prevent User from receiving new inbound conversations if you are using Pool Routing. -
State string
Current state of this user. Can be either
active
ordeactivated
.Values are
active
ordeactivated
.
POST /v1/Users/{Sid}
curl \
-X POST https://frontline-api.twilio.com/v1/Users/{Sid} \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Avatar=string&FriendlyName=string&IsAvailable=true&State=active'
Request example
{
"Avatar": "string",
"FriendlyName": "string",
"IsAvailable": true,
"State": "active"
}
Request examples
{
"Avatar": "string",
"FriendlyName": "string",
"IsAvailable": true,
"State": "active"
}
Response examples (200)
{
"avatar": "string",
"friendly_name": "string",
"identity": "string",
"is_available": true,
"sid": "string",
"state": "active",
"url": "https://example.com"
}
Response examples (200)
{
"avatar": "string",
"friendly_name": "string",
"identity": "string",
"is_available": true,
"sid": "string",
"state": "active",
"url": "https://example.com"
}