Method
|
DELETE
|
URL
|
/v2/<object_full_identifier>/<UUID>
|
Parameters
|
permanent_delete
|
Response Content Type
|
application/json
|
Parameter
|
Description
|
Data Type
|
Example
|
---|---|---|---|
permanent_delete
|
By default, the platform performs logical record deletion. Use this parameter to specify whether permanent (physical) deletion is required. Be aware that after permanent deletion, records cannot be undeleted.
If not specified, default logical deletion is performed, except for records that belong to objects configured with Physical Delete set to true.
|
Boolean
|
Delete the record permanently (physically):
DEL: /v2/<object_full_identifier>/<UUID>?permanent_delete=true
|
Method
|
DELETE
|
URL
|
/v2/<object_full_identifier>
|
Parameters
|
uuids, permanent_delete
|
Response Content Type
|
application/json
|
|
This request is transactional. If any record deletions fail, the full transaction is rolled back, and the corresponding error code and message are retrieved.
|
Parameter
|
Description
|
Data Type
|
Example
|
---|---|---|---|
uuids
|
The UUIDs of the records to delete.
|
String of a list of comma-separated UUIDs of the records to delete.
|
To delete three records:
DEL: /v2/<object_full_identifier>?uuids=uuid1,uuid2,uuid3
|
permanent_delete
|
By default, the platform performs logical record deletion. Set this parameter to specify whether a permanent (physical) record deletion is required. Be aware that after permanent record deletion, it records cannot be undeleted.
If not specified, default logical deletion is performed, except for records that belong to objects with Physical Delete set to true.
|
boolean
|
To delete two records permanently (physically):
DEL: /v2/<object_full_identifier>?uuids=uuid1,uuid2&permanent_delete=true
|
HTTP Status Code
|
Error Type
|
Error Message
|
---|---|---|
400
|
missing_parameter_error
|
The request did not contain a valid uuid to delete the record
|
400
|
invalid_parameter_error
|
The request did not provide a valid Record ID: <UUID>
|
400
|
operation_error
|
Error Deleting Records. Exception={...}
|
404
|
entity_not_found_error
|
Entity not found UUID: ...
|
500
|
server_error
|
Server error
|