Errors

Code Description
401 Unauthorized
500 Internal Server Error
422 Missing parameters

Examples

POST /api/v2/admin/field_groups/2
{
  "name": "swapped_name"
}
200
{
  "ok": "ok"
}
POST /api/v2/admin/field_groups/not-found-id
{
  "name": "swapped_name"
}
404
{
  "error": "Field group not found"
}
POST /api/v2/admin/field_groups/3
{
  "name": "swapped_name no auth"
}
401
POST /api/v2/admin/field_groups/4
{
  "name": "swapped_name default user"
}
401

Params

Param name Description
field_group_id
required

Field group ID

Validations:

  • Must be a String

name
required

Field group name

Validations:

  • Must be a String

Headers

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