Properties
| Name | Type | Description |
|---|---|---|
| userId | string | User ID to be moved. |
| extension | string | Extension to be moved. Extension is only supported for calling user. Only one new extension can be moved to the target location for a user. An empty value will remove the configured extension. If not |
| phoneNumber | string | Phone number to be moved. Phone number is only supported for calling user. Only one new phone number belonging to the target location can be assigned to a user. The phone number must follow the E.164 |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/UserItem",
"title": "UserItem",
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"example": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzUyMjNiYmVkLTQyYzktNDU0ZC1hMWYzLTdmYWQ1Y2M3ZTZlMw",
"description": "User ID to be moved."
},
"extension": {
"type": "string",
"example": "28544",
"description": "Extension to be moved. Extension is only supported for calling user. Only one new extension can be moved to the target location for a user. An empty value will remove the configured extension. If not provided, the existing extension will be retained."
},
"phoneNumber": {
"type": "string",
"example": "+18632520486",
"description": "Phone number to be moved. Phone number is only supported for calling user. Only one new phone number belonging to the target location can be assigned to a user. The phone number must follow the E.164 format. An empty value will remove the configured phone number. If not provided, the existing phone number will be moved to the target location."
}
}
}