Headers

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

Params

Param name Description
project_id
required

Project ID

Validations:

  • Must be a String

field_group_id
required

Field group ID

Validations:

  • Must be a String

complex_field_group_id
required

Complex field group ID

Validations:

  • Must be a String

Examples

// Deleting complex custom field group
DELETE /api/v2/projects/-Ab6SvQ1KkN6WkyqIWTQ/custom_fields/34/21
200
{
  "custom_fields": {
    "34": {
      "34": "test_value"
    }
  }
}
// If project is not found
DELETE /api/v2/projects/not-found-id/custom_fields/36/22
404
{
  "error": "project not found"
}
// If custom field group is not found
DELETE /api/v2/projects/16EVP0gIqvRS9lEWRAAv/custom_fields/not-found-id/23
404
{
  "error": "Couldn't find FieldGroup with 'id'=not-found-id"
}
// If complex custom field group is not found
DELETE /api/v2/projects/6CEn2fP9LNdS7w7KfxVt/custom_fields/38/not-found-id
404
{
  "error": "Couldn't find ComplexFieldGroup with 'id'=not-found-id [WHERE \"complex_field_groups\".\"field_group_id\" IS NOT NULL]"
}

Errors

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