---
title: "Delete a workload identity provider"
url: https://hexelstudio.com/docs/api/ciam-iam/workload-identity/delete-a-workload-identity-provider
---

# Delete a workload identity provider

**DELETE** `/workload-identity-providers/{provider_id}`

Fails with 409 while a role trust policy references the provider.

## Path parameters

- `provider_id: string`

  Provider ID

## Headers

- `Authorization: string`

  `Bearer <token>`.

## Returns

`204` No Content

## Errors

- `404` Not Found
- `409` Conflict

## Example

```bash
curl --request DELETE \
  --url 'https://api.hexelstudio.com/v1/workload-identity-providers/{provider_id}' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (404)

```json
{
  "key": "string"
}
```

### Response (409)

```json
{}
```
