Skip to content

List FGL templates​

GET
/api/v2/fgl-templates

Get all FGL templates

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Query Parameters

_include

Include related resources

Type
string
Valid values
"commands"

Responses​

A list of FGL templates

application/json
JSON
{
  
"data": [
  
],
  
"total": 1
}

Playground​

Authorization
Variables
Key
Value

Samples​


Create FGL template​

POST
/api/v2/fgl-templates

Create a new FGL template

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Created FGL template object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Get FGL template by ID​

GET
/api/v2/fgl-templates/{id}

Get a single FGL template

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

FGL Template ID

Type
integer
Required

Query Parameters

_include

Include related resources

Type
string
Valid values
"commands"

Responses​

FGL template object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value

Samples​


Delete FGL template​

DELETE
/api/v2/fgl-templates/{id}

Delete an FGL template

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

FGL Template ID

Type
integer
Required

Responses​

Deleted successfully

Playground​

Authorization
Variables
Key
Value

Samples​


Update FGL template​

PATCH
/api/v2/fgl-templates/{id}

Update an existing FGL template

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

FGL Template ID

Type
integer
Required

Request Body​

application/json
JSON
"string"

Responses​

Updated FGL template object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Bulk delete FGL templates​

POST
/api/v2/fgl-templates/bulk-delete

Delete multiple FGL templates at once

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"ids": [
  
  
0
  
]
}

Responses​

Deleted successfully

Playground​

Authorization
Body

Samples​


Powered by VitePress OpenAPI