The Representational State Transfer Configuration Protocol (RESTCONF) API returns standard HTTP status codes in addition to JSON-based error codes and messages in the response body.
Code | Description |
---|---|
200 OK |
The request was successful. |
201 Created |
The resource was created successfully. |
204 No Content |
Success with no response body. |
400 Bad Request |
The operation failed because the request is syntactically incorrect or violated schema. |
401 Unauthorized |
The authentication credentials are invalid or the user is not authorized to use the API. |
404 Not Found |
The server did not find the specified resource that matches the request URL. |
405 Method Not Allowed |
The API does not support the requested HTTP method. |
409 Data Resource Already Exists |
The data resource already exists. |