POST /v1/metering/operations/{operation_id}/delegations
MeteringService_IssueExecutionDelegation
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
operation_idpath · string · required
Request body
allowed_actionsarrayallowed_meter_codesarrayidempotency_keystringoperation_idstringttl_secondsinteger · int32
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/metering/operations/{operation_id}/delegations' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"allowed_actions": [
"<value>"
],
"allowed_meter_codes": [
"<value>"
],
"idempotency_key": "<value>",
"ttl_seconds": 0
}'Response contract
200 · OK
allowed_actionsarrayallowed_meter_codesarraycreated_atstringdelegate_api_key_idstringdelegate_service_account_idstringdelegate_tenant_idstringexpires_atstringidstringlast_used_atstringoperation_idstringrevoked_atstringtokenstringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.