Delete a contact field
delete
/api/REST/1.0/assets/contact/field/{id}
Deletes the contact field specified by the
id
parameter.Request
Supported Media Types
- application/json
Path Parameters
-
id(required): integer
Id of the contact field to delete.
Response
Supported Media Types
- application/json
204 Response
No matching contact fields were found in the search.
400 Response
Bad request. See Status Codes for information about other possible HTTP status codes.
401 Response
Unauthorized. See Status Codes for information about other possible HTTP status codes.
403 Response
Forbidden. See Status Codes for information about other possible HTTP status codes.
404 Response
The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
409 Response
The contact field you are attempting to delete has dependencies, and cannot be deleted.
500 Response
The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Examples
Delete the contact field asset with Id #63:
DELETE /api/REST/1.0/assets/contact/field/100196
Response status:
200 OK
For DELETE
requests, there is no body returned.