Fortinet Document Library

Version:


Table of Contents

Download PDF
Copy Link

GET

URI:
  • /api/v1/count?resource=***

 

Example:

  • /api/v1/count?resource=user
  • /api/v1/count?resource=client
Input fields:
Field Name Type Required

Description

resource

string

Yes

Resources such as

  • user
  • realm
  • device
  • client
realm_id string No The realm ID.
Example request body:
Input:  
None
Example of successful response body:
Return:
{
    'user': '120',
    'quota': 1200000
}

GET

URI:
  • /api/v1/count?resource=***

 

Example:

  • /api/v1/count?resource=user
  • /api/v1/count?resource=client
Input fields:
Field Name Type Required

Description

resource

string

Yes

Resources such as

  • user
  • realm
  • device
  • client
realm_id string No The realm ID.
Example request body:
Input:  
None
Example of successful response body:
Return:
{
    'user': '120',
    'quota': 1200000
}