Search code examples
restsaphanascimsap-business-technology-platform

Why delete method of SCIM REST API returns status 200?


I try to delete user from SAP Cloud Id with SCIM REST API.

And when I send delete request through HANA $.net.http.Request I get status 200 and empty response body. And user is not deleted. I tested the same request for same user with Postman and there is everything is ok, I got status 204 No Content as intended. Maybe someone faced with similar problem or has an idea how to solve this or at least get reason of such response?


Solution

  • I finally resolved this prolem. This was my mistake, I didn't know that delete request in SAP HANA is $.net.http.DEL and not $.net.http.DELETE, so it send some default request instead of throwing an error