cURL
Post apiallocations
POST
cURL
Authorizations
Body
Write-side serializer for provisioning a new Allocation.
is_default is intentionally not exposed — admins who want to
swap an owner's default use POST /api/allocations/{id}/default/
which atomically flips the partial unique constraint.
Optional parent_id creates a sub-Allocation carved from the named
parent. When supplied, repository_id is ignored (the view
inherits the parent's repository) and the caller must own the
parent directly. Thin-provisioning means no sum-check against the
parent's remaining headroom at creation — capacity is enforced at
upload time.
project- projectuser- user
Available options:
project, user Required range:
x >= 1Required range:
x >= 1Maximum string length:
255Response
201 - application/json