The POST/Security/Roles/{id}/Permissions/Collections method is used to add new collection The certificate search function allows you to query the Keyfactor Command database for certificates from any available source based on any criteria of the certificates  and save the results as a collection that will be availble in other places in the Management Portal (e.g. expiration alerts and certain reports). permissions to the security role that matches the ID. This method returns HTTP 200 OK on a success with certificate collection permission details for the specified security role.
 The certificate search function allows you to query the Keyfactor Command database for certificates from any available source based on any criteria of the certificates  and save the results as a collection that will be availble in other places in the Management Portal (e.g. expiration alerts and certain reports). permissions to the security role that matches the ID. This method returns HTTP 200 OK on a success with certificate collection permission details for the specified security role.
 An API is a set of functions to allow creation of applications. Keyfactor offers the Keyfactor API, which allows third-party software to integrate with the advanced certificate enrollment and management features of Keyfactor Command. Endpoint
 An API is a set of functions to allow creation of applications. Keyfactor offers the Keyfactor API, which allows third-party software to integrate with the advanced certificate enrollment and management features of Keyfactor Command. Endpoint An endpoint is a URL that enables the API to gain access to resources on a server. utility displays a list of valid global permissions on the endpoint.
 An endpoint is a URL that enables the API to gain access to resources on a server. utility displays a list of valid global permissions on the endpoint.The user must hold a role containing this permission in the Global Permission Set (see Permission Sets).
Table 656: POST Security Roles {id} Permissions Collections Input Parameters
| Name | In | Description | 
|---|---|---|
| id | Path | Required. An integer indicating the Keyfactor Command reference ID of the security role for which to set  Use the GET /Security/Roles method (see GET Security Roles) to retrieve a list of all the security roles to determine the role's ID. | 
| collectionPermissions | Body | An object containing information about the permissions granted to certificate collection for this security role.  | 
Table 657: POST Security Roles {id} Permissions Collections Response Data
| Name | Description | 
|---|---|
| An object containing information about the certificate  | 
 A workflow is a series of steps necessary to complete a process. In Keyfactor Command, it refers to the workflow builder, which allows you to automate event-driven tasks such as when a certificate is requested, revoked or found in a certificate store. development. It also serves secondarily as documentation for the API. The link to the Keyfactor API Reference and Utility is in the dropdown from the help icon (
 A workflow is a series of steps necessary to complete a process. In Keyfactor Command, it refers to the workflow builder, which allows you to automate event-driven tasks such as when a certificate is requested, revoked or found in a certificate store. development. It also serves secondarily as documentation for the API. The link to the Keyfactor API Reference and Utility is in the dropdown from the help icon ( ) at the top of the Management Portal page next to the Log Out button.
) at the top of the Management Portal page next to the Log Out button.