PUT Security Roles ID Identities

The PUT /Security/Roles/{id}/Identities operation updates security identities assigned to a security role in Keyfactor Command. On success, the operation returns HTTP 200 OK with  the details of the security identities actively assigned to the security role.

Important:  This operation has been deprecated since it supports Active Directory identities only. It is retained for backwards compatibility, but all new development should use operations that provide support for alternate identity providers and the newer claims-based authentication model that accompanies this. These newer operations support both Active Directory and other identity providers. See v2 of PUT Security Roles to update claims on a security role.
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 833: PUT Security Roles {id} Identities Input Parameters

Name

In

Description
id Path Required. The Keyfactor Command reference ID of the security role for which to update identities.

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

identities Body

An array in which you provide a complete list of the identities that are associated with an Security Role Id.

Use the GET Security Identities operation to retrieve a list of all the security identities to determine the identity IDs.

Table 834: PUT Security Roles {id} Identities Response Data