Skip to content

Commit e7f4097

Browse files
Document HTTP 409 response when deleting fields in use by Segments
Signed-off-by: promptless-for-oss <[email protected]>
1 parent 033b91c commit e7f4097

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/rest_api/fields.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,10 +564,16 @@ Delete a field.
564564
565565
``DELETE /fields/contact/ID/delete`` or ``DELETE /fields/company/ID/delete``
566566

567+
.. note::
568+
569+
You can't delete a field that's in use by a Segment. This returns an HTTP 409 (Conflict) response. Remove the field from any Segment filters before deleting it.
570+
567571
**Response**
568572

569573
``Expected Response Code: 200``
570574

575+
``Response Code if field is in use: 409``
576+
571577
**Properties**
572578

573579
Same as `Get Field <#get-field>`_.

0 commit comments

Comments
 (0)