Enable or disable maintenance mode on Appliance

Prev Next
Post
/appliances/{id}/maintenance

Enable or disable maintenance mode on Appliance An appliance in maintenance mode won't allow to perform POST, PUT, PATCH or DELETE methods.

Security
HTTP
Type bearer
Path parameters
id
string (uuid) Required

ID of the object.

Example12699e27-b584-464a-81ee-5b4784b6d425
Body parameters

Enable/disable maintenance mode on Appliance

object
enabled
boolean Required

Flag to enable or disable the maintenance mode.

Responses
202

Appliance accepted the request and it's enabling/disabling maintenance mode.

object

Appliance change id for the result of the maintenance mode

id
string

Id for this change

400

JSON error. Check the JSON format.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

401

Token error. Login again.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

403

Insufficient permissions to access this resource.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

404

The requested resource can not be found.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

406

Invalid 'Accept' header.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

412

Appliance is not in the right state for this operation.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

500

Unexpected server side error.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.