## Delete an Access identity provider `client.zeroTrust.identityProviders.delete(stringidentityProviderId, IdentityProviderDeleteParamsparams?, RequestOptionsoptions?): IdentityProviderDeleteResponse` **delete** `/{accounts_or_zones}/{account_or_zone_id}/access/identity_providers/{identity_provider_id}` Deletes an identity provider from Access. ### Parameters - `identityProviderId: string` UUID. - `params: IdentityProviderDeleteParams` - `account_id?: string` The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. - `zone_id?: string` The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. ### Returns - `IdentityProviderDeleteResponse` - `id?: string` UUID. ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const identityProvider = await client.zeroTrust.identityProviders.delete( 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415', { account_id: 'account_id' }, ); console.log(identityProvider.id); ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": { "id": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415" } } ```