Reassign an agent to a different account
Moves ownership of the agent to the target accountId in the request body. Caller must currently own the agent, or provide a valid X-Admin-Token to force reassignment.
Authentication
X-App-Idstring
Your MessageBlue App ID, sent in clear on every request. It is paired with request signing: each request is also signed with your App Secret (see the Authentication tag). The App Secret itself is NEVER transmitted — it is only the HMAC signing key.
Path parameters
phoneNumber
Request
This endpoint expects an object.
accountId
Target account that should own the agent after reassignment
Response
Agent reassigned
ok
data
Endpoint-specific payload wrapped in a standard success envelope.
meta
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
