HostingMigrations
List migration presets
GET
/api/migrations/presetsReturns the migration presets available to the authenticated user.
Authorization
api_key X-Api-Token<token>
API token used to authenticate requests.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/migrations/presets" \ -H "X-Api-Token: YOUR_API_TOKEN" \ -H "Accept: application/json"Empty
{
"message": "Unauthorized",
"errors": []
}{
"message": "Forbidden",
"errors": []
}{
"message": "Not found",
"errors": []
}{
"message": "Validation failed",
"errors": [
{
"field": "name",
"description": "is not valid"
}
]
}