Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
asset_id required |
Asset ID Validations:
|
field_group_id required |
Field group ID Validations:
|
complex_field_group_id required |
Complex field group ID Validations:
|
// Deleting complex custom field group DELETE /api/v2/assets/Qhw0xft1vFTmx-fPdkD0/custom_fields/15/9 200 { "custom_fields": { "15": { "15": "test_value" } } }
// If asset is not found DELETE /api/v2/assets/not-found-id/custom_fields/17/10 404 { "error": "asset not found" }
// If custom field group is not found DELETE /api/v2/assets/Z_Bfi01wSTMHv9osZFHJ/custom_fields/not-found-id/11 404 { "error": "Couldn't find FieldGroup with 'id'=not-found-id" }
// If complex custom field group is not found DELETE /api/v2/assets/ARvS7D1f2lH1-Nsf93la/custom_fields/19/not-found-id 404 { "error": "Couldn't find ComplexFieldGroup with 'id'=not-found-id [WHERE \"complex_field_groups\".\"field_group_id\" IS NOT NULL]" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |