End User
Repurpose an existing user to be a different user (end user swap)
Use this endpoint to reuse an end user, along with their existing devices, telephone numbers and calling plans, for a new person. <BR> A new voicemail box is created, and call handling and call screening settings are reset. <BR> The new user's password is set to null. To reset the user password go <a href="#/~operation/End%20User/resetPassword_2">here.</a> <BR> Please note that the acting user cannot repurpose themselves.
put/v2/partition/{partitionId}/account/{accountId}/user/{userId}/repurpose
Request
- Base URLhttps://api.alianza.com
- AuthAPI key in header X-AUTH-TOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
ID of account, refers to <a href="#/~schema/Account">account.id</a>
partitionIdstring required
ID of partition, refers to <a href="#/~schema/PartitionX">partition.id</a>
userIdstring required
ID of end user, refers to <a href="#/~schema/EndUserV2X">endUserV2X.id</a>
Request body
Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.