---
title: "DELETE /api/v1/users/{userId}/factors/{factorId}"
method: DELETE
path: "/api/v1/users/{userId}/factors/{factorId}"
tags: ["UserFactor"]
---

# DELETE /api/v1/users/{userId}/factors/{factorId}

`DELETE /api/v1/users/{userId}/factors/{factorId}`

## Request

- Base URL: `https://your-subdomain.okta.com`
- URL: `https://your-subdomain.okta.com/api/v1/users/{userId}/factors/{factorId}`
- Auth: API key in header `Authorization`

Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.

## Path parameters

- `userId` string, required
- `factorId` string, required

## Response `204`

No Content

---

[API](https://skmtc.dev/okta/apis/okta-api.md) - [All operations](https://skmtc.dev/okta/apis/okta-api/llms.txt) - [OpenAPI document](https://skmtc.dev/okta/apis/okta-api/revisions/7e5249c30571?raw)
