Skip to navigation

Update an allocation

Updates a single allocation. Wrap the entry under allocation (same shape used by the create endpoint). Requires Admin role and the allocations feature on your company’s plan.

Authentication

AuthorizationBearer

A short-lived access token from POST /api/v1/access-token (30 minutes by default). Send as Authorization: Bearer <jwt>.

Path parameters

idstringRequired
The allocation's unique identifier.

Request

This endpoint expects an object.
allocationobjectRequired

Allocation payload used by both create and update. Provide either sourceId or id. When subClass is true, also provide parentRef.value or parentId.

Response

Allocation updated.
allocationobject
An allocation.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error