HTTP response status code change for the Delete action and DELETE calls to CRUD operations
In line with REST API best practices, we have introduced an HTTP status code change to the following operations:
- The DELETE calls made to CRUD operations (operations with the
/v1/object/*
endpoint), such as CRUD: Delete a contact
- The Delete action
If you use the preceding operations to delete an object with an invalid ID, the 200 status code is now returned because the result of getting an object deleted has been achieved and DELETE calls should be idempotent.
Previously, the 400 HTTP response code was returned for this case.Note: The change is currently live in Sandbox and Central Sandbox environments. It is estimated to be deployed to Production environments on June 4th, 2023.