deleteIdentitySource

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 IsAuthorizedWithToken. operations.

Samples


fun main() { 
   //sampleStart 
   // The following example request deletes the specified identity source.
val resp = verifiedPermissionsClient.deleteIdentitySource {
    identitySourceId = "ISEXAMPLEabcdefg111111"
    policyStoreId = "C7v5xMplfFH3i3e4Jrzb1a"
} 
   //sampleEnd
}