Update a Person (set license)
PUT {{WEBEXAPI}}/people/{{_person}}
Update details for a person, by ID.
Specify the person ID in the personId parameter in the URI. Only an admin can update a person details.
https://developer.webex.com/endpoint-people-personId-put.html
Example Request:
json
{
'emails" : [ 'johnny.chang@foomail.com', 'jchang@barmail.com' ],
'displayName' : 'John Andersen',
'firstName' : 'John',
'lastName' : 'Andersen',
'avatar' : 'https://1efa7a94ed21783e352-c62266528714497a17239ececf39e9e2.ssl.cf1.rackcdn.com/V1~54c844c89e678e5a7b16a306bc2897b9~wx29yGtlTpilEFlYzqPKag==~1600',
'orgId' : 'OTZhYmMyYWEtM2RjYy0xMWU1LWExNTItZmUzNDgxOWNkYzlh',
'roles' : [ 'Y2lzY29zcGFyazovL3VzL1JPT00vOGNkYzQwYzQtZjA5ZS0zY2JhLThjMjYtZGQwZTcwYWRlY2Iy', 'Y2lzY29zcGFyazovL3VzL1BFT1BMRS9mMDZkNzFhNS0wODMzLTRmYTUtYTcyYS1jYzg5YjI1ZWVlMmX' ],
'licenses' : [ 'Y2lzY29zcGFyazovL3VzL1JPT00vOGNkYzQwYzQtZjA5ZS0zY2JhLThjMjYtZGQwZTcwYWRlY2Iy', 'Y2lzY29zcGFyazovL3VzL1BFT1BMRS9mMDZkNzFhNS0wODMzLTRmYTUtYTcyYS1jYzg5YjI1ZWVlMmX' ]
}
Request Body
{"orgId"=>"{{_organization}}", "displayName"=>"{{_displayName}}", "licenses"=>["{{_license}}"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |