---
title: "POST /identities/DeleteOauth2CredentialProvider"
method: POST
path: "/identities/DeleteOauth2CredentialProvider"
---

# POST /identities/DeleteOauth2CredentialProvider

`POST /identities/DeleteOauth2CredentialProvider`

Deletes an OAuth2 credential provider.

## Request body

- object
  - `name` string, required — The name of the OAuth2 credential provider to delete.

## Response `204`

Success

- DeleteOauth2CredentialProviderResponse

## Other responses

- `480` — UnauthorizedException
- `481` — ValidationException
- `482` — AccessDeniedException
- `483` — ConflictException
- `484` — ResourceNotFoundException
- `485` — ThrottlingException
- `486` — InternalServerException

---

[API](https://skmtc.net/aws/apis/bedrock-agentcore-control.md) · [All operations](https://skmtc.net/aws/apis/bedrock-agentcore-control/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/bedrock-agentcore-control/versions/0ebde766792b/schema)
