Update extension
documentedUpdate extension attributes.
PUT /restapi/v1.0/account/{accountId}/extension/{extensionId}Administrationno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://platform.ringcentral.com/restapi/v1.0/account/{{$accountId}}/extension/{{$extensionId}}" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "extensionNumber": "{{$extensionNumber}}", "status": "{{$status}}", "contact": {"firstName": "{{$firstName}}", "lastName": "{{$lastName}}", "email": "{{$email}}", "phoneNumbers": [ { "phoneNumber": "{{$phoneNumber}}", "type": "Mobile" } ] } }'