# Delete workload identity

Deletes a workload identity.

Required permission: Account > Cloud > WorkloadIdentities > Delete

**Path parameters:**

{object}
- `workloadIdentityId`: (string) (required) ID of the workload identity

**Response body:**

{object}
- `data`: {object}

## API reference

DELETE /v1/workload-identities/{workloadIdentityId}

DELETE /v1/teams/{teamId}/workload-identities/{workloadIdentityId}

### Example Response

200 OK: The operation was performed successfully.

```json
{
  "data": {}
}
```

## CLI reference

$ northflank delete workload-identities

Options:

- `--workloadIdentityId <workloadIdentityId>`: ID of the workload identity

- `--verbose `: Verbose output

- `--quiet `: No console output

- `--force `: Don't ask for confirmation

- `-o --output <format>`: Output formatting 

### Example Response

 The operation was performed successfully.

```json
{}
```

## JavaScript client reference

### Example request



```javascript
await apiClient.delete.workloadIdentities({
  parameters: {
    "workloadIdentityId": "example-workload-identity"
  }
});
```

### Example Response

 The operation was performed successfully.

```json
{
  "data": {},
  "rawResponse": "...",
  "request": "...",
  "error": "..."
}
```

Previous: [Update workload identity](/docs/v1/api//team/integrations/update-workload-identity)

Next: [Install workload identity](/docs/v1/api//team/integrations/install-workload-identity)