Save specific user settings that affect how the interface is displayed or behaves. It returns a requestId that can be used to track the change in the system, which is important for troubleshooting and tracking setting modifications.
Accept Example Content-Type Example key string required value any required category string required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/preferences curl -X POST "https://cloud.hostup.se/api/preferences" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"key": "string",
"value": null,
"category": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"message": "string",
"key": "string",
"value": true,
"category": "string"
}
} {
"key": "string",
"value": null,
"category": "string"
}