Skip to content

Delete Identity Source

verifiedpermissions_delete_identity_source R Documentation

Deletes an identity source that references an identity provider (IdP) such as Amazon Cognito

Description

Deletes an identity source that references an identity provider (IdP) such as Amazon Cognito. After you delete the identity source, you can no longer use tokens for identities from that identity source to represent principals in authorization queries made using is_authorized_with_token. operations.

Usage

verifiedpermissions_delete_identity_source(policyStoreId,
  identitySourceId)

Arguments

policyStoreId

[required] Specifies the ID of the policy store that contains the identity source that you want to delete.

To specify a policy store, use its ID or alias name. When using an alias name, prefix it with ⁠policy-store-alias/⁠. For example:

  • ID: PSEXAMPLEabcdefg111111

  • Alias name: policy-store-alias/example-policy-store

To view aliases, use list_policy_store_aliases.

identitySourceId

[required] Specifies the ID of the identity source that you want to delete.

Value

An empty list.

Request syntax

svc$delete_identity_source(
  policyStoreId = "string",
  identitySourceId = "string"
)