Fortinet black logo

FortiMail REST API HTTP response codes

Copy Link
Copy Doc ID 0dadd778-b754-11eb-b70b-00505692583a:49352
Download PDF

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.

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.