Skip to content

/AWS1/CL_SSA=>DELETEACCOUNTASSIGNMENT()

About DeleteAccountAssignment

Deletes a principal's access from a specified Amazon Web Services account using a specified permission set.

After a successful response, call DescribeAccountAssignmentDeletionStatus to describe the status of an assignment deletion request.

Method Signature

IMPORTING

Required arguments:

IV_INSTANCEARN TYPE /AWS1/SSAINSTANCEARN /AWS1/SSAINSTANCEARN

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

IV_TARGETID TYPE /AWS1/SSATARGETID /AWS1/SSATARGETID

TargetID is an Amazon Web Services account identifier, (For example, 123456789012).

IV_TARGETTYPE TYPE /AWS1/SSATARGETTYPE /AWS1/SSATARGETTYPE

The entity type for which the assignment will be deleted.

IV_PERMISSIONSETARN TYPE /AWS1/SSAPERMISSIONSETARN /AWS1/SSAPERMISSIONSETARN

The ARN of the permission set that will be used to remove access.

IV_PRINCIPALTYPE TYPE /AWS1/SSAPRINCIPALTYPE /AWS1/SSAPRINCIPALTYPE

The entity type for which the assignment will be deleted.

IV_PRINCIPALID TYPE /AWS1/SSAPRINCIPALID /AWS1/SSAPRINCIPALID

An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSADELACASSIGNMENTRSP /AWS1/CL_SSADELACASSIGNMENTRSP