Assign or update a phone number on a target user (SuperAdmin only)
Adds or upserts a voice phone-number assignment on the target user for the given provider, atomically scoped by organizationId so the user must still belong to the org. Validates the provider and ObjectId formats. Requires SUPERADMIN.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
User in the organization who should receive the phone-number assignment; must belong to the calling org.
Voice provider for this number: twilio, sinch, or textgrid.
Phone number to assign in E.164 format (e.g. +14165550102).
When true, makes this the user's default outbound number for the given provider (defaults to true if omitted).
When true, routes inbound calls/SMS for this number to the user (defaults to true if omitted).
Optional human-readable label shown alongside the number in the UI (e.g. "Main Outbound").