---
title: Revoke
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/python)

[Zero Trust](https://developers.cloudflare.com/api/python/resources/zero_trust)

[Devices](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Revoke

##### [Revoke devices (deprecated)](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/revoke/methods/create)

Deprecated

zero\_trust.devices.revoke.create(RevokeCreateParams\*\*kwargs) -> [RevokeCreateResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.revoke%20%3E%20(model)%20revoke_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/devices/revoke

##### ModelsExpand Collapse

<details>

<summary>

Union\[str, object, null]

</summary>

One of the following:

str

<a href="#(resource)%20zero_trust.devices.revoke%20%3E%20(model)%20revoke_create_response%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

object

<a href="#(resource)%20zero_trust.devices.revoke%20%3E%20(model)%20revoke_create_response%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.revoke%20%3E%20(model)%20revoke_create_response%20%3E%20(schema)>)