API v1 Reference

Delete Custom Object

Deletes a custom object.

Deleting a custom object deletes all object records. If an object has child objects, you must delete the child objects first.

Endpoint

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

Request

https://api.neoncrm.com/neonws/services/api/customObject/deleteCustomObject?userSessionId=[session id]&objectApiName=Museum_Visits_c

Response

{
  "deleteCustomObjectResponse": {
    "operationResult": "SUCCESS",
    "responseDateTime": "2017-05-19T14:18:49.496+0000"
  }
}

Request Parameters

Parameter Required Description
objectApiName Required This is the token used to identify the Custom Object when accessing it from the API.

Error Codes

Code Text Description
20001 Object API name is required.
20002 Object API name is invalid.
20020 Object is active.