Update an allocation

An existing allocation can be updated by making a PUT request on the URL for
that allocation. Only the fields provided in the data block will be updated;
any unspecified fields will remain unchanged.

Returns the complete updated allocation record.

Path Params
string
required

Globally unique identifier for the allocation.

Query Params
array of strings

This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.

opt_fields
boolean

Provides “pretty” output.
Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.

Body Params

The updated fields for the allocation.

object

A generic Asana Resource, containing a globally unique identifier.

Responses

Response body
object
object

A generic Asana Resource, containing a globally unique identifier.

string

Globally unique identifier of the resource, as a string.

string

The base type of this resource.

date

The localized day on which the allocation starts.

date

The localized day on which the allocation ends.

object | null

The amount of time associated with the allocation, represented as a percentage or number of hours

object

The user or placeholder assigned to the allocation.

object

The user who created the allocation.

object

The project the allocation is on.

string

The subtype of the allocation.

Language
Credentials
Request
Asana Home
Asana helps you manage projects, focus on what's important, and organize work in one place for seamless collaboration.
© 2023 Asana, Inc.