Update or Delete Actual Usage Entry
POST /actualusage/{actual_usage_string_id}
Change an existing actual usage record or remove it. The API key user needs actual usage editing permission at the resourceโs site.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
actual_usage_string_id |
string | Yes | Actual usage record ID. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
in_use |
boolean | Yes | Required by the shared request schema. For an edit or delete by ID, the handler uses the fields below. |
start, end |
Unix timestamp | No | Replace either timestamp, in seconds. |
user_id |
string or null | No | Change the linked user. Omit to preserve it, or send null to clear it. |
delete |
boolean | No | Use true to delete the record. |
return_data |
boolean | No | Use true to return the updated record in data. Defaults to false. |
Response
A successful deletion has no data field. An unknown record returns 404. An invalid body returns 422.
See the Actual Usage API overview for related endpoints.