Set External User Budget

Set (or clear with null) a per-end-user hard credit cap. Enforced in runtime preflight so the developer can’t accidentally overspend their quota.

Authentication

AuthorizationBearer

LoreOS API key, sent as Authorization: Bearer <key>.

Path parameters

external_user_refstringRequired

Request

This endpoint expects an object.
resource_typestringOptionalDefaults to all
limit_creditsdouble or nullOptional>=0
enforcementstringOptionalDefaults to hard
external_user_refstring or nullOptional

Response

Successful Response

Errors

422
Unprocessable Entity Error