DELETE /accounts/objects/definitions
DELETE /accounts/{id}/objects/definitions
Delete all account-level fields in a common objects and all resources with fields only at the account level of the account associated with the request. You can either delete a common object for the account associated with the credentials that you pass with the request, or you you can specify an account Id. The endpoints to create a common object for an account are:
DELETE /accounts/objects/definitions
- Delete a common object for the account associated with the logged in user or the Organization and User Secret passed with the request.
DELETE /accounts/{id}/objects/definitions
- Delete a common object for the account by passing the account id with the request.
Path Parameters
Only used for DELETE /accounts/{id}/objects/definitions
.
id | The unique identifier for an account within an organization. |
DELETE /accounts/objects/definitions Example Request
curl -X DELETE \
https://api.openconnectors.us2.ext.hana.ondemand.com/elements/api-v2/accounts/objects/definitions \
-H 'authorization: User sAfK7LJGNz5ZHcNrvdJvLI=f03WbTbH6aRKc0HJ3oOIi, Organization 58168435e3b9959a929eb04b6218b9a2' \
-H 'content-type: application/json' \
DELETE /accounts/{id}/objects/definitions Example Request
curl -X DELETE \
https://api.openconnectors.us2.ext.hana.ondemand.com/elements/api-v2/accounts/12345/objects/definitions \
-H 'authorization: User sAfK7LJGNz5ZHcNrvdJvLI=f03WbTbH6aRKc0HJ3oOIi, Organization 58168435e3b9959a929eb04b6218b9a2' \
-H 'content-type: application/json' \
Example Response
A response with a 200 Status Code indicates success. You can confirm that you deleted the common object with GET accounts/objects/definitions
or GET/accounts/{id}/objects/definitions
.