aws ram disassociate-resource-share
Removes the specified principals, resources, or source constraints from participating in the specified resource share. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--client-tokenSpecifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.--principalsSpecifies a list of one or more principals that no longer are to have access to the resources in this resource share.--resource-arnsSpecifies a list of Amazon Resource Names (ARNs) for one or more resources that you want to remove from the resource share.--resource-share-arnSpecifies Amazon Resource Name (ARN) of the resource share that you want to remove resources or principals from.--sourcesSpecifies source constraints (accounts, ARNs, organization IDs, or organization paths) to remove from the resource share.