Account
Maintenance List
https://api.linode.com/v4/account/maintenance
Returns a collection of Maintenance objects for any entity a user has permissions to view. Canceled Maintenance objects are not returned.
Currently, Linodes are the only entities available for viewing.
Request Samples
- Shell
- CLI
curl -H "Authorization: Bearer $TOKEN" \
https://api.linode.com/v4/account/maintenance
Response Samples
- 200
- default
{
"data": [
{
"entity": {
"id": 1234,
"label": "demo-linode",
"type": "Linode",
"url": "https://api.linode.com/v4/linode/instances/{linodeId}"
},
"status": "started",
"type": "reboot",
"reason": "This maintenance will allow us to update the BIOS on the host's motherboard.",
"when": "2020-07-09T00:01:01.000Z"
}
],
"page": 1,
"pages": 1,
"results": 1
}
Responses
200: Returns a paginated list of Maintenance objects.
The entity being affected by maintenance.
The id of the entity being affected by maintenance.
The label of the entity being affected by maintenance.
The type of entity.
The API endpoint prefix to use in combination with the entity id to find specific information about the entity.
The maintenance status.
Maintenance progresses in the following sequence: pending, started, then completed.
The type of maintenance.
The reason maintenance is being performed.
When the maintenance will begin.
Filterable with the following parameters:
A single value in date-time string format ("%Y-%m-%dT%H:%M:%S"), which returns only matches to that value.
A dictionary containing pairs of inequality operator string keys ("+or", "+gt", "+gte", "+lt", "+lte", or "+neq") and single date-time string format values ("%Y-%m-%dT%H:%M:%S"). "+or" accepts an array of values that may consist of single date-time strings or dictionaries of inequality operator pairs.
The current page.
The total number of pages.
The total number of results.
default: Error
What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.
The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.