FortiMail REST API HTTP response codes
FortiMail REST APIs use well-defined HTTP status codes to indicate query results to the API. Following are some of the HTTP status codes used:
HTTP response code |
Description |
---|---|
200 - OK |
API request successful. |
400 - Bad Request |
Bad request. |
403 - Forbidden |
Request is missing authentication token or administrator is missing access profile permissions. |
404 - Not Found |
Unable to find the specified resource. |
405 - Method Not Allowed |
Specified HTTP method is not allowed for this resource. |
500 |
Internal server error. |