PUT responses and HTTP status codes returned by RestAPI

PUT responses and HTTP status codes

Response Code

Description

200 OK Resource is successful.
400 Bad Request Failed due to incorrect parameters in the request.
404 Not Found Failed due to non-existent resource.
405 Method Not Allowed Not supported on a resource.
500 Internal Server Error Failed due to an error in the switch.