Headers

Header name Description
Content-Type
required
application/json
X-API-KEY
required
YOUR_API_KEY

Params

Param name Description
name
required

Name of the table preset

Validations:

  • Must be a String

Examples

// Succesful request
POST /api/v2/table_presets
{
  "name": "Test preset"
}
200
{
  "table_preset": {
    "id": 1,
    "name": "Test preset",
    "user_id": 112,
    "created_at": "2023-11-27T09:43:02.368Z",
    "updated_at": "2023-11-27T09:43:02.368Z",
    "preference_id": null,
    "table_preset_columns": []
  }
}
// Unprocessable Entity
POST /api/v2/table_presets
{}
422
{
  "error": "Missing parameter name"
}

Errors

Code Description
401 Unauthorized
404 Not found
500 Internal Server Error
422 Missing parameters