`PUT /v1/properties/{property_id}/companies/{profile_id}/admin-provisioning`
PUT/v1/properties/:property_id/companies/:profile_id/admin-provisioning
Provision company admin.
PUT .../companies/{profile_id}/admin-provisioning - provision the first
corporate admin: binds the traveler (created on the fly when needed) as
ADMIN and stamps preferences.provisioned_admin_at. Idempotent -
re-provisioning an already-admin company is a no-op returning the
existing state with already_provisioned: true.
Request
Responses
- 200
- 400
- 401
- 403
- 404
OK - idempotent; already-provisioned returns traveler_profile_id = null
email required
Not authenticated
Forbidden
Company profile not found