POST Security Containers ID Roles
The POST /Security/Containers/{id}/Roles operation assigns permissions for a security role to a certificate store container. On success, the operation returns HTTP 200 OK with the details of the security role and permissions.
See also POST Security Roles ID Permissions Containers to assign permissions for one or more certificate store containers to a security role.
The user must hold a role containing this permission in the Global Permission Set (see Permission Sets).
Table 734: POST Security Containers {id} Roles Input Parameters
| Name |
In |
Description |
|---|---|---|
| id | Path |
Required. An integer indicating the Keyfactor Command reference ID of the certificate store container to update. Use the GET Certificate Store Containers operation to determine the ID of the certificate store container. |
| SecurityRoleId | Body |
Required. An integer indicating the Keyfactor Command reference ID of the security role granted permissions to the certificate store container. Use the GET Security Roles operation to determine the ID of the security role. |
| Permissions | Body |
Required. A comma-delimited array of strings indicating the permissions granted to the role for the certificate store container. See Certificate Stores for an overview of the possible permissions. For example: Copy
|
Table 735: POST Security Containers {id} Roles Response Data
| Name | Description |
|---|---|
| SecurityRoleId |
An integer indicating the Keyfactor Command reference ID of the security role granted permissions to the certificate store container. |
| Name | A string containing the short reference name for the security role granted permissions to the certificate store container. |
| Permissions |
A comma-delimited array of strings indicating the permissions granted to the role for the certificate store container. See Certificate Stores for an overview of the possible permissions. |
Was this page helpful? Provide Feedback