v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1437140138.4 KB

Deletes a principal's access from a specified AWS account using a specified permission set.

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

post/#X-Amz-Target=SWBExternalService.DeleteAccountAssignment

Headers

X-Amz-Target'SWBExternalService.DeleteAccountAssignment' required

Request body

InstanceArnstring required

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see <a href="/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS General Reference</i>.

TargetIdstring required

TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).

TargetType'AWS_ACCOUNT' required

The entity type for which the assignment will be deleted.

PermissionSetArnstring required

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

PrincipalType'USER' | 'GROUP' required

The entity type for which the assignment will be deleted.

PrincipalIdstring required

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 <a href="/singlesignon/latest/IdentityStoreAPIReference/welcome.html">IAM Identity Center Identity Store API Reference</a>.

Response

Success