FortiOS v6.4.14 cmdb certificate

GET /certificate/ca

Select all entries in a CLI table. ** Access Group: vpngrp**

Query Parameters:
  • datasource (boolean) – Enable to include datasource information for each linked object.

  • start (integer) – Starting entry index.

  • count (integer) – Maximum number of entries to return.

  • with_meta (boolean) – Enable to include meta information about each object (type id, references, etc).

  • with_contents_hash (boolean) – Enable to include a checksum of each object’s contents.

  • skip (boolean) – Enable to call CLI skip operator to hide skipped properties.

  • format (array) – List of property names to include in results, separated by | (i.e. policyid|srcintf).

  • filter (array) – Filtering multiple key/value pairs Operator | Description == | Case insensitive match with pattern. != | Does not match with pattern (case insensitive). =@ | Pattern found in object value (case insensitive). !@ | Pattern not found in object value (case insensitive). <= | Value must be less than or equal to pattern. < | Value must be less than pattern. .>= | Value must be greater than or equal to pattern. .> | Value must be greater than pattern. Logical OR | Separate filters using commas ‘,’ Logical AND | Filter strings can be combined to create logical AND queries by including multiple filters in the request. Combining AND and OR | You can combine AND and OR filters together to create more complex filters.

  • key (string) – If present, objects will be filtered on property with this name.

  • pattern (string) – If present, objects will be filtered on property with this value.

  • scope (string) – Scope [global|vdom|both*]

  • exclude-default-values (boolean) – Exclude properties/objects with default value

  • action (string) – default: Return the CLI default values for entire CLI tree. meta: Return meta data for a specific object, table, or the entire CLI tree. schema: Return schema for entire CLI tree.

  • vdom (array) – Specify the Virtual Domain(s) from which results are returned or changes are applied to. If this parameter is not provided, the management VDOM will be used. If the admin does not have access to the VDOM, a permission error will be returned. The URL parameter is one of: vdom=root (Single VDOM) vdom=vdom1,vdom2 (Multiple VDOMs) vdom=* (All VDOMs)

Status Codes:
  • 200 OK – OK: Request returns successful

  • 400 Bad Request – Bad Request: Request cannot be processed by the API

  • 401 Unauthorized – Not Authorized: Request without successful login session

  • 403 Forbidden – Forbidden: Request is missing CSRF token or administrator is missing access profile permissions.

  • 404 Not Found – Resource Not Found: Unable to find the specified resource.

  • 405 Method Not Allowed – Method Not Allowed: Specified HTTP method is not allowed for this resource.

  • 413 Request Entity Too Large – Request Entity Too Large: Request cannot be processed due to large entity

  • 424 Failed Dependency – Failed Dependency: Fail dependency can be duplicate resource, missing required parameter, missing required attribute, invalid attribute value

  • 429 Too Many Requests – Access temporarily blocked: Maximum failed authentications reached. The offended source is temporarily blocked for certain amount of time.

  • 500 Internal Server Error – Internal Server Error: Internal error when processing the request

GET /certificate/ca/{name}

Select a specific entry from a CLI table. ** Access Group: vpngrp**

Parameters:
  • name (string) – mkey

Query Parameters:
  • datasource (boolean) – Enable to include datasource information for each linked object.

  • with_meta (boolean) – Enable to include meta information about each object (type id, references, etc).

  • skip (boolean) – Enable to call CLI skip operator to hide skipped properties.

  • format (array) – List of property names to include in results, separated by | (i.e. policyid|srcintf).

  • action (string) – default: Return the CLI default values for this object type. schema: Return the CLI schema for this object type. revision: Return the CMDB revision for this object type. transaction-list: List all configuration transaction(s).

  • vdom (array) – Specify the Virtual Domain(s) from which results are returned or changes are applied to. If this parameter is not provided, the management VDOM will be used. If the admin does not have access to the VDOM, a permission error will be returned. The URL parameter is one of: vdom=root (Single VDOM) vdom=vdom1,vdom2 (Multiple VDOMs) vdom=* (All VDOMs)

Status Codes:
  • 200 OK – OK: Request returns successful

  • 400 Bad Request – Bad Request: Request cannot be processed by the API

  • 401 Unauthorized – Not Authorized: Request without successful login session

  • 403 Forbidden – Forbidden: Request is missing CSRF token or administrator is missing access profile permissions.

  • 404 Not Found – Resource Not Found: Unable to find the specified resource.

  • 405 Method Not Allowed – Method Not Allowed: Specified HTTP method is not allowed for this resource.

  • 413 Request Entity Too Large – Request Entity Too Large: Request cannot be processed due to large entity

  • 424 Failed Dependency – Failed Dependency: Fail dependency can be duplicate resource, missing required parameter, missing required attribute, invalid attribute value

  • 429 Too Many Requests – Access temporarily blocked: Maximum failed authentications reached. The offended source is temporarily blocked for certain amount of time.

  • 500 Internal Server Error – Internal Server Error: Internal error when processing the request

GET /certificate/crl

Select all entries in a CLI table. ** Access Group: vpngrp**

Query Parameters:
  • datasource (boolean) – Enable to include datasource information for each linked object.

  • start (integer) – Starting entry index.

  • count (integer) – Maximum number of entries to return.

  • with_meta (boolean) – Enable to include meta information about each object (type id, references, etc).

  • with_contents_hash (boolean) – Enable to include a checksum of each object’s contents.

  • skip (boolean) – Enable to call CLI skip operator to hide skipped properties.

  • format (array) – List of property names to include in results, separated by | (i.e. policyid|srcintf).

  • filter (array) – Filtering multiple key/value pairs Operator | Description == | Case insensitive match with pattern. != | Does not match with pattern (case insensitive). =@ | Pattern found in object value (case insensitive). !@ | Pattern not found in object value (case insensitive). <= | Value must be less than or equal to pattern. < | Value must be less than pattern. .>= | Value must be greater than or equal to pattern. .> | Value must be greater than pattern. Logical OR | Separate filters using commas ‘,’ Logical AND | Filter strings can be combined to create logical AND queries by including multiple filters in the request. Combining AND and OR | You can combine AND and OR filters together to create more complex filters.

  • key (string) – If present, objects will be filtered on property with this name.

  • pattern (string) – If present, objects will be filtered on property with this value.

  • scope (string) – Scope [global|vdom|both*]

  • exclude-default-values (boolean) – Exclude properties/objects with default value

  • action (string) – default: Return the CLI default values for entire CLI tree. meta: Return meta data for a specific object, table, or the entire CLI tree. schema: Return schema for entire CLI tree.

  • vdom (array) – Specify the Virtual Domain(s) from which results are returned or changes are applied to. If this parameter is not provided, the management VDOM will be used. If the admin does not have access to the VDOM, a permission error will be returned. The URL parameter is one of: vdom=root (Single VDOM) vdom=vdom1,vdom2 (Multiple VDOMs) vdom=* (All VDOMs)

Status Codes:
  • 200 OK – OK: Request returns successful

  • 400 Bad Request – Bad Request: Request cannot be processed by the API

  • 401 Unauthorized – Not Authorized: Request without successful login session

  • 403 Forbidden – Forbidden: Request is missing CSRF token or administrator is missing access profile permissions.

  • 404 Not Found – Resource Not Found: Unable to find the specified resource.

  • 405 Method Not Allowed – Method Not Allowed: Specified HTTP method is not allowed for this resource.

  • 413 Request Entity Too Large – Request Entity Too Large: Request cannot be processed due to large entity

  • 424 Failed Dependency – Failed Dependency: Fail dependency can be duplicate resource, missing required parameter, missing required attribute, invalid attribute value

  • 429 Too Many Requests – Access temporarily blocked: Maximum failed authentications reached. The offended source is temporarily blocked for certain amount of time.

  • 500 Internal Server Error – Internal Server Error: Internal error when processing the request

GET /certificate/crl/{name}

Select a specific entry from a CLI table. ** Access Group: vpngrp**

Parameters:
  • name (string) – mkey

Query Parameters:
  • datasource (boolean) – Enable to include datasource information for each linked object.

  • with_meta (boolean) – Enable to include meta information about each object (type id, references, etc).

  • skip (boolean) – Enable to call CLI skip operator to hide skipped properties.

  • format (array) – List of property names to include in results, separated by | (i.e. policyid|srcintf).

  • action (string) – default: Return the CLI default values for this object type. schema: Return the CLI schema for this object type. revision: Return the CMDB revision for this object type. transaction-list: List all configuration transaction(s).

  • vdom (array) – Specify the Virtual Domain(s) from which results are returned or changes are applied to. If this parameter is not provided, the management VDOM will be used. If the admin does not have access to the VDOM, a permission error will be returned. The URL parameter is one of: vdom=root (Single VDOM) vdom=vdom1,vdom2 (Multiple VDOMs) vdom=* (All VDOMs)

Status Codes:
  • 200 OK – OK: Request returns successful

  • 400 Bad Request – Bad Request: Request cannot be processed by the API

  • 401 Unauthorized – Not Authorized: Request without successful login session

  • 403 Forbidden – Forbidden: Request is missing CSRF token or administrator is missing access profile permissions.

  • 404 Not Found – Resource Not Found: Unable to find the specified resource.

  • 405 Method Not Allowed – Method Not Allowed: Specified HTTP method is not allowed for this resource.

  • 413 Request Entity Too Large – Request Entity Too Large: Request cannot be processed due to large entity

  • 424 Failed Dependency – Failed Dependency: Fail dependency can be duplicate resource, missing required parameter, missing required attribute, invalid attribute value

  • 429 Too Many Requests – Access temporarily blocked: Maximum failed authentications reached. The offended source is temporarily blocked for certain amount of time.

  • 500 Internal Server Error – Internal Server Error: Internal error when processing the request

GET /certificate/local

Select all entries in a CLI table. ** Access Group: vpngrp**

Query Parameters:
  • datasource (boolean) – Enable to include datasource information for each linked object.

  • start (integer) – Starting entry index.

  • count (integer) – Maximum number of entries to return.

  • with_meta (boolean) – Enable to include meta information about each object (type id, references, etc).

  • with_contents_hash (boolean) – Enable to include a checksum of each object’s contents.

  • skip (boolean) – Enable to call CLI skip operator to hide skipped properties.

  • format (array) – List of property names to include in results, separated by | (i.e. policyid|srcintf).

  • filter (array) – Filtering multiple key/value pairs Operator | Description == | Case insensitive match with pattern. != | Does not match with pattern (case insensitive). =@ | Pattern found in object value (case insensitive). !@ | Pattern not found in object value (case insensitive). <= | Value must be less than or equal to pattern. < | Value must be less than pattern. .>= | Value must be greater than or equal to pattern. .> | Value must be greater than pattern. Logical OR | Separate filters using commas ‘,’ Logical AND | Filter strings can be combined to create logical AND queries by including multiple filters in the request. Combining AND and OR | You can combine AND and OR filters together to create more complex filters.

  • key (string) – If present, objects will be filtered on property with this name.

  • pattern (string) – If present, objects will be filtered on property with this value.

  • scope (string) – Scope [global|vdom|both*]

  • exclude-default-values (boolean) – Exclude properties/objects with default value

  • action (string) – default: Return the CLI default values for entire CLI tree. meta: Return meta data for a specific object, table, or the entire CLI tree. schema: Return schema for entire CLI tree.

  • vdom (array) – Specify the Virtual Domain(s) from which results are returned or changes are applied to. If this parameter is not provided, the management VDOM will be used. If the admin does not have access to the VDOM, a permission error will be returned. The URL parameter is one of: vdom=root (Single VDOM) vdom=vdom1,vdom2 (Multiple VDOMs) vdom=* (All VDOMs)

Status Codes:
  • 200 OK – OK: Request returns successful

  • 400 Bad Request – Bad Request: Request cannot be processed by the API

  • 401 Unauthorized – Not Authorized: Request without successful login session

  • 403 Forbidden – Forbidden: Request is missing CSRF token or administrator is missing access profile permissions.

  • 404 Not Found – Resource Not Found: Unable to find the specified resource.

  • 405 Method Not Allowed – Method Not Allowed: Specified HTTP method is not allowed for this resource.

  • 413 Request Entity Too Large – Request Entity Too Large: Request cannot be processed due to large entity

  • 424 Failed Dependency – Failed Dependency: Fail dependency can be duplicate resource, missing required parameter, missing required attribute, invalid attribute value

  • 429 Too Many Requests – Access temporarily blocked: Maximum failed authentications reached. The offended source is temporarily blocked for certain amount of time.

  • 500 Internal Server Error – Internal Server Error: Internal error when processing the request

GET /certificate/local/{name}

Select a specific entry from a CLI table. ** Access Group: vpngrp**

Parameters:
  • name (string) – mkey

Query Parameters:
  • datasource (boolean) – Enable to include datasource information for each linked object.

  • with_meta (boolean) – Enable to include meta information about each object (type id, references, etc).

  • skip (boolean) – Enable to call CLI skip operator to hide skipped properties.

  • format (array) – List of property names to include in results, separated by | (i.e. policyid|srcintf).

  • action (string) – default: Return the CLI default values for this object type. schema: Return the CLI schema for this object type. revision: Return the CMDB revision for this object type. transaction-list: List all configuration transaction(s).

  • vdom (array) – Specify the Virtual Domain(s) from which results are returned or changes are applied to. If this parameter is not provided, the management VDOM will be used. If the admin does not have access to the VDOM, a permission error will be returned. The URL parameter is one of: vdom=root (Single VDOM) vdom=vdom1,vdom2 (Multiple VDOMs) vdom=* (All VDOMs)

Status Codes:
  • 200 OK – OK: Request returns successful

  • 400 Bad Request – Bad Request: Request cannot be processed by the API

  • 401 Unauthorized – Not Authorized: Request without successful login session

  • 403 Forbidden – Forbidden: Request is missing CSRF token or administrator is missing access profile permissions.

  • 404 Not Found – Resource Not Found: Unable to find the specified resource.

  • 405 Method Not Allowed – Method Not Allowed: Specified HTTP method is not allowed for this resource.

  • 413 Request Entity Too Large – Request Entity Too Large: Request cannot be processed due to large entity

  • 424 Failed Dependency – Failed Dependency: Fail dependency can be duplicate resource, missing required parameter, missing required attribute, invalid attribute value

  • 429 Too Many Requests – Access temporarily blocked: Maximum failed authentications reached. The offended source is temporarily blocked for certain amount of time.

  • 500 Internal Server Error – Internal Server Error: Internal error when processing the request

GET /certificate/remote

Select all entries in a CLI table. ** Access Group: vpngrp**

Query Parameters:
  • datasource (boolean) – Enable to include datasource information for each linked object.

  • start (integer) – Starting entry index.

  • count (integer) – Maximum number of entries to return.

  • with_meta (boolean) – Enable to include meta information about each object (type id, references, etc).

  • with_contents_hash (boolean) – Enable to include a checksum of each object’s contents.

  • skip (boolean) – Enable to call CLI skip operator to hide skipped properties.

  • format (array) – List of property names to include in results, separated by | (i.e. policyid|srcintf).

  • filter (array) – Filtering multiple key/value pairs Operator | Description == | Case insensitive match with pattern. != | Does not match with pattern (case insensitive). =@ | Pattern found in object value (case insensitive). !@ | Pattern not found in object value (case insensitive). <= | Value must be less than or equal to pattern. < | Value must be less than pattern. .>= | Value must be greater than or equal to pattern. .> | Value must be greater than pattern. Logical OR | Separate filters using commas ‘,’ Logical AND | Filter strings can be combined to create logical AND queries by including multiple filters in the request. Combining AND and OR | You can combine AND and OR filters together to create more complex filters.

  • key (string) – If present, objects will be filtered on property with this name.

  • pattern (string) – If present, objects will be filtered on property with this value.

  • scope (string) – Scope [global|vdom|both*]

  • exclude-default-values (boolean) – Exclude properties/objects with default value

  • action (string) – default: Return the CLI default values for entire CLI tree. meta: Return meta data for a specific object, table, or the entire CLI tree. schema: Return schema for entire CLI tree.

  • vdom (array) – Specify the Virtual Domain(s) from which results are returned or changes are applied to. If this parameter is not provided, the management VDOM will be used. If the admin does not have access to the VDOM, a permission error will be returned. The URL parameter is one of: vdom=root (Single VDOM) vdom=vdom1,vdom2 (Multiple VDOMs) vdom=* (All VDOMs)

Status Codes:
  • 200 OK – OK: Request returns successful

  • 400 Bad Request – Bad Request: Request cannot be processed by the API

  • 401 Unauthorized – Not Authorized: Request without successful login session

  • 403 Forbidden – Forbidden: Request is missing CSRF token or administrator is missing access profile permissions.

  • 404 Not Found – Resource Not Found: Unable to find the specified resource.

  • 405 Method Not Allowed – Method Not Allowed: Specified HTTP method is not allowed for this resource.

  • 413 Request Entity Too Large – Request Entity Too Large: Request cannot be processed due to large entity

  • 424 Failed Dependency – Failed Dependency: Fail dependency can be duplicate resource, missing required parameter, missing required attribute, invalid attribute value

  • 429 Too Many Requests – Access temporarily blocked: Maximum failed authentications reached. The offended source is temporarily blocked for certain amount of time.

  • 500 Internal Server Error – Internal Server Error: Internal error when processing the request

GET /certificate/remote/{name}

Select a specific entry from a CLI table. ** Access Group: vpngrp**

Parameters:
  • name (string) – mkey

Query Parameters:
  • datasource (boolean) – Enable to include datasource information for each linked object.

  • with_meta (boolean) – Enable to include meta information about each object (type id, references, etc).

  • skip (boolean) – Enable to call CLI skip operator to hide skipped properties.

  • format (array) – List of property names to include in results, separated by | (i.e. policyid|srcintf).

  • action (string) – default: Return the CLI default values for this object type. schema: Return the CLI schema for this object type. revision: Return the CMDB revision for this object type. transaction-list: List all configuration transaction(s).

  • vdom (array) – Specify the Virtual Domain(s) from which results are returned or changes are applied to. If this parameter is not provided, the management VDOM will be used. If the admin does not have access to the VDOM, a permission error will be returned. The URL parameter is one of: vdom=root (Single VDOM) vdom=vdom1,vdom2 (Multiple VDOMs) vdom=* (All VDOMs)

Status Codes:
  • 200 OK – OK: Request returns successful

  • 400 Bad Request – Bad Request: Request cannot be processed by the API

  • 401 Unauthorized – Not Authorized: Request without successful login session

  • 403 Forbidden – Forbidden: Request is missing CSRF token or administrator is missing access profile permissions.

  • 404 Not Found – Resource Not Found: Unable to find the specified resource.

  • 405 Method Not Allowed – Method Not Allowed: Specified HTTP method is not allowed for this resource.

  • 413 Request Entity Too Large – Request Entity Too Large: Request cannot be processed due to large entity

  • 424 Failed Dependency – Failed Dependency: Fail dependency can be duplicate resource, missing required parameter, missing required attribute, invalid attribute value

  • 429 Too Many Requests – Access temporarily blocked: Maximum failed authentications reached. The offended source is temporarily blocked for certain amount of time.

  • 500 Internal Server Error – Internal Server Error: Internal error when processing the request