Updating data
Some resources have properties that can be updated. The properties that can be updated are marked in the resource documentation as writable.
To update a resource, you need to send a PATCH request to the resource's endpoint. The request body should contain only the properties that you want to update.
Updates is asynchronous. The update process is as follows:
- You send a
PATCHrequest to the resource's endpoint. - The API responds with a
202 Acceptedstatus code and aLocationheader with a reference to a/status/<uuid>resource. - The
/status/<uuid>resource will continue to respond with202 Accepteduntil it's finished.- If the update is successful, the
/status/<uuid>resource will respond with a303 See Otherstatus code and aLocationheader referring to the updated resource. - If the update fails, the
/status/<uuid>resource will respond with a4xx-series status code and an error message.
- If the update is successful, the