Delete Custom Object Field

Deletes a single field from a specific custom object.

Endpoint

https://api.neoncrm.com/neonws/services/api/customObject/deleteCustomObjectField

Request

https://api.neoncrm.com/neonws/services/api/customObject/deleteCustomObjectField?userSessionId=[session id]&objectApiName=Test_Custom_Object_c&objectFieldApiName=Related_Account_c

Response

{
  "deleteCustomObjectFieldResponse": {
    "operationResult": "SUCCESS",
    "responseDateTime": "2017-05-23T17:08:16.881+0000"
  }
}

Request Parameters

Parameter Required Description
objectApiName Required This is the token used to identify the Custom Object when accessing it from the API.
objectFieldApiName Required This is the API-specific name for the field being deleted.

Error Codes

Code Text Description
20001 Object API name is required.
20002 Object API name is invalid.
20020 Object is active.
20022 Object field API name is requried.
20023 Object field API name is invalid.