Ooo entries

Update an OOO entry

<b>Required scope: </b><code>ooo_entries:write</code>

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

Returns the complete updated OOO entry record.

put/ooo_entries/{ooo_entry_gid}

Request

  • Base URL: https://app.asana.com/api/1.0
  • URL: https://app.asana.com/api/1.0/ooo_entries/{ooo_entry_gid}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.asana.com/-/oauth_authorize, token URL https://app.asana.com/-/oauth_token, scopes: ooo_entries:write)

Query parameters

opt_fieldsstring[]

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. Properties can include nested fields. To learn more, see the input/output options guide.

Request body

Example request

{
  "data": {
    "gid": "12345",
    "resource_type": "ooo_entry",
    "start_date": "2024-01-01",
    "end_date": "2024-01-15"
  }
}

Response

Successfully updated the OOO entry.

Example response

{
  "data": {
    "gid": "12345",
    "resource_type": "ooo_entry",
    "start_date": "2024-01-01",
    "end_date": "2024-01-15",
    "user": {
      "gid": "12345",
      "resource_type": "user",
      "name": "Greg Sanchez"
    },
    "created_by": {
      "gid": "12345",
      "resource_type": "user",
      "name": "Greg Sanchez"
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.