Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
name required |
Name of the table preset Validations:
|
// Succesful request PUT /api/v2/table_presets/3 { "name": "Test preset2" } 200 { "table_preset": { "name": "Test preset2", "id": 3, "user_id": 116, "created_at": "2023-11-27T09:43:02.744Z", "updated_at": "2023-11-27T09:43:02.805Z", "preference_id": null, "table_preset_columns": [] } }
// Unprocessable Entity PUT /api/v2/table_presets/4 {} 422 { "error": "Missing parameter name" }
// Table preset not found PUT /api/v2/table_presets/-1 { "name": "Test preset2" } 404 { "error": "Couldn't find TablePreset with 'id'=-1" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |