POST /v1/principal-billing-assignments
TenantService_CreatePrincipalBillingAssignment
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
No path or query parameters.
Request body
cost_center_idstringcustomer_account_idstringidempotency_keystringprincipal_idstringprincipal_typestring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/principal-billing-assignments' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"cost_center_id": "<value>",
"customer_account_id": "<value>",
"idempotency_key": "<value>",
"principal_id": "<value>",
"principal_type": "<value>"
}'Response contract
200 · OK
cost_center_idstringcreated_atstringcustomer_account_idstringeffective_fromstringeffective_untilstringidstringprincipal_idstringprincipal_typestringretired_atstringstatusstringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.