POST Security Roles ID Permissions Containers

The POST /Security/Roles/{id}/Permissions/Containers operation adds new container permissions to the security role that matches the ID. On success, the operation returns HTTP 200 OK with  certificate store container permission details for the specified security role.

Important:  This operation has been deprecated. It is retained for backwards compatibility, but new development should not use it.
Important:  Only the permission settings included in the command will be affected. Any other permissions settings will not be affected and remain as is.
Tip:  The following permissions (see Security Roles and Claims) are required to use this feature:

/security/modify/

The user must hold a role containing this permission in the Global Permission Set (see Permission Sets).

Table 770: POST Security Roles {id} Permissions Containers Input Parameters

Name In Description
id Path

Required. An integer indicating the Keyfactor Command reference ID of the security role for which to set certificate store container permissions.

Use the GET Security Roles operation to retrieve a list of all the security roles to determine the role's ID.

containerPermissions Body

An object containing information about the permissions granted to certificate store containers for this security role. ClosedShow container details.

Table 771: POST Security Roles {id} Permissions Containers Response Data

Name Description
 

An object containing information about the certificate store container permissions granted to the security role. ClosedShow permission details.

Tip:  See the Keyfactor API Reference and Utility, which allows you to call API operations and view results. It is primarily intended for validation, testing, and workflowClosed 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, and also serves as an interactive supplement to this API documentation. You can access it from the help menu () in the Management Portal.