Fortinet Document Library

Version:

Version:

Version:


Table of Contents

REST API Solution Guide

Download PDF
Copy Link

General API response codes

 
Code Description
200 OK The request was successfully completed.
201 Created The request successfully created a new resource and the response body does not contain the newly created resource.
202 Accepted The server fulfilled the request and the response body contains the newly updated resource.
204 No Content The server fulfilled the request, but does not need to return a response message body.
400 Bad Request The request could not be processed because it contains missing or invalid information (i.e. the data in the request does not validate).
401 Not Authorized The supplied credential is incorrect.
403 Forbidden Permission is denied to perform an operation.
500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request.

General API response codes

 
Code Description
200 OK The request was successfully completed.
201 Created The request successfully created a new resource and the response body does not contain the newly created resource.
202 Accepted The server fulfilled the request and the response body contains the newly updated resource.
204 No Content The server fulfilled the request, but does not need to return a response message body.
400 Bad Request The request could not be processed because it contains missing or invalid information (i.e. the data in the request does not validate).
401 Not Authorized The supplied credential is incorrect.
403 Forbidden Permission is denied to perform an operation.
500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request.