POST Permission Sets
The POST /PermissionSets method is used to create a new permission set in Keyfactor Command (see Permission Sets). This method returns HTTP 200 OK on a success with the details of the new permission set.
The user must hold a role containing this permission in the Global Permission Set (see Permission Sets).
Table 599: POST Permission Sets Input Parameters
| Name |
In |
Description |
|---|---|---|
| Name | Body | Required. A string indicating the short name for the permission set. |
| Permissions | Body |
Required. An array of strings containing the permissions assigned to the permission set. See Version Two Permission Model for an overview of the possible permissions. For example: Copy
|
Table 600: POST Permission Sets Response Data
| Name | Description |
|---|---|
| Id | A string containing the Keyfactor Command reference GUID for the permission set. |
| Permissions |
An array of strings containing the permissions assigned to the permission set. See Version Two Permission Model for an overview of the possible permissions. |