# YubiKey revocation using the Factors API

**URL:** <https://devforum.okta.com/t/yubikey-revocation-using-the-factors-api/12307>\
**Category:** Questions\
**Created:** [December 31, 2020, 12:38am UTC](https://devforum.okta.com/t/yubikey-revocation-using-the-factors-api/12307 "2020-12-31T00:38:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![miguelyubico.com](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@miguelyubico.com](https://devforum.okta.com/u/miguelyubico.com)\
**Post date:** [December 31, 2020, 12:38am UTC](https://devforum.okta.com/t/yubikey-revocation-using-the-factors-api/12307/1 "2020-12-31T00:38:12Z")

</div>

Hi all,  
Reviewing the Factors API documentation, I can see that I can upload configuration for a new YubiKey, and assign it to a user (enrollment).Then I can reset it (so it’s not allowed for the user), but I can’t find how to revoke it (that is, how to delete the configuration form Okta so I can reload it with a new configuration). What I’m looking for is to do the same action that is now available from the Admin console using the “Revoke YubiKey Seed” option but using the API. Any help is appreciated!

---

<div class="post-metadata">

**Author:** ![warren](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@warren](https://devforum.okta.com/u/warren)\
**Post date:** [January 4, 2021, 5:17pm UTC](https://devforum.okta.com/t/yubikey-revocation-using-the-factors-api/12307/2 "2021-01-04T17:17:19Z")

</div>

It looks like there’s an endpoint for uploading the Yubikey seed but I don’t see an endpoint to revoke it. That might be an action available only in the admin dashboard.

> **[Factors | Okta Developer](https://developer.okta.com/docs/reference/api/factors/#upload-yubikey-otp-seed)**

I would suggest submitting a feature request.

> **[Okta Help Center (Lightning)](https://support.okta.com/help/s/article/Okta-Ideas-Overview-FAQ?language=en_US)**

---

<div class="post-metadata">

**Author:** ![miguelyubico.com](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@miguelyubico.com](https://devforum.okta.com/u/miguelyubico.com)\
**Post date:** [January 4, 2021, 7:24pm UTC](https://devforum.okta.com/t/yubikey-revocation-using-the-factors-api/12307/3 "2021-01-04T19:24:17Z")

</div>

Cheers, thanks for the clarification

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 19, 2024, 12:37am UTC](https://devforum.okta.com/t/yubikey-revocation-using-the-factors-api/12307/4 "2024-01-19T00:37:28Z")

</div>

Closed on January 19, 2024, 12:37am UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
