Fortinet Document Library

Version:


Table of Contents

Download PDF
Copy Link

GET

URI:
  • /api/v1/auth/[id]
  • /api/v1/auth?sn=***
Input fields:
Field Name Type Required

Description

id

string

No

The auth ID obtained from an auth POST request.

sn

string

No

The serial number of the web app client. It equals to client ID in this case.

chunksize string No The query size for a batch auth result query. The default chunksize is 500, and the valid range is from 100 to 1000.
Example request body:
Input:
None
Example of successful response body:

Return:

{

'status': 'authenticated'

}

The return status could be "waiting”, “authenticated", or "rejected".

  • If the API request if made with an auth id, the return status could be "waiting”, “authenticated", or "rejected"
  • If the API request is made with an sn (client id) for batch auth status checking, the status could be “authenticated" or "rejected". The API request will return an empty list if no push auth response is received

GET

URI:
  • /api/v1/auth/[id]
  • /api/v1/auth?sn=***
Input fields:
Field Name Type Required

Description

id

string

No

The auth ID obtained from an auth POST request.

sn

string

No

The serial number of the web app client. It equals to client ID in this case.

chunksize string No The query size for a batch auth result query. The default chunksize is 500, and the valid range is from 100 to 1000.
Example request body:
Input:
None
Example of successful response body:

Return:

{

'status': 'authenticated'

}

The return status could be "waiting”, “authenticated", or "rejected".

  • If the API request if made with an auth id, the return status could be "waiting”, “authenticated", or "rejected"
  • If the API request is made with an sn (client id) for batch auth status checking, the status could be “authenticated" or "rejected". The API request will return an empty list if no push auth response is received