Cloudflare Devices API

The Devices API from Cloudflare — 15 operation(s) for devices.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 30

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

6 of 30 operations are conformant: apis.io called them with no credentials and the responses matched this contract; 1 more answered but could not be checked against a schema. Checked 2026-11-12. how this works · status file

GET /accounts/{account_id}/devices List WARP devices (deprecated) · List devices (deprecated) conformant #
Ask an LLM
“Can I still list WARP devices with the deprecated endpoint?”
“Is multi-user mode a problem when listing WARP devices?”
Tell an agent
List WARP devices with the deprecated endpoint.
Show the legacy WARP device list for account {account_id}.
GET /accounts/{account_id}/devices/policies List device settings profiles · List device settings profiles conformant #
Ask an LLM
“Which device settings profiles exist for my account?”
“Can I filter device profiles by client type?”
Tell an agent
List device settings profiles for account {account_id}.
Show {profile_type} device profiles in account {account_id}.
GET /accounts/{account_id}/devices/policy Get the default device settings profile · Get the default device settings profile conformant #
Ask an LLM
“What are the settings of the default device profile?”
“How do I read the account's default device profile?”
Tell an agent
Get the default device settings profile for account {account_id}.
Show the account-wide default device profile.
PATCH /accounts/{account_id}/devices/policy Update the default device settings profile · Update the default device settings profile #
Ask an LLM
“How do I change the settings of the default device profile?”
“Can I update the account-wide default device profile?”
Tell an agent
Update the default device settings profile in account {account_id}.
Change the account-wide default device profile settings.
POST /accounts/{account_id}/devices/policy Create a device settings profile · Create a device settings profile #
Ask an LLM
“How do I create a device settings profile for my account?”
“Can I set a default device profile when creating one?”
Tell an agent
Create a device settings profile named {name} in account {account_id}.
Create a {profile_type} device profile {name} with precedence {precedence} in account {account_id}.
DELETE /accounts/{account_id}/devices/policy/exclude Reset the Split Tunnel exclude list · Reset Split Tunnel exclude list #
Ask an LLM
“How do I restore the default Split Tunnel exclude list?”
“Can I clear the account-wide WARP tunnel exclude list?”
Tell an agent destructive · confirm first
Reset the Split Tunnel exclude list for account {account_id}.
Clear the account-wide WARP tunnel exclude list.
GET /accounts/{account_id}/devices/policy/exclude Get the Split Tunnel exclude list · Get the Split Tunnel exclude list conformant #
Ask an LLM
“Which routes are excluded from the WARP tunnel?”
“What is in the account-wide Split Tunnel exclude list?”
Tell an agent
Get the Split Tunnel exclude list for account {account_id}.
Show the account-wide routes excluded from the WARP tunnel.
PUT /accounts/{account_id}/devices/policy/exclude Set the Split Tunnel exclude list · Set the Split Tunnel exclude list #
Ask an LLM
“How do I exclude specific routes from the WARP tunnel?”
“Can I replace the account-wide Split Tunnel exclude list?”
Tell an agent
Set the Split Tunnel exclude list for account {account_id}.
Replace the account-wide WARP tunnel exclude list.
DELETE /accounts/{account_id}/devices/policy/fallback_domains Reset the Local Domain Fallback list · Reset Local Domain Fallback #
Ask an LLM
“How do I restore the default Local Domain Fallback list?”
“Can I clear the account-wide Local Domain Fallback list?”
Tell an agent destructive · confirm first
Reset the Local Domain Fallback list for account {account_id}.
Clear the account-wide domains that bypass Gateway DNS.
GET /accounts/{account_id}/devices/policy/fallback_domains Get the Local Domain Fallback list · Get your Local Domain Fallback list conformant #
Ask an LLM
“Which domains bypass Gateway DNS resolution?”
“What is in the account-wide Local Domain Fallback list?”
Tell an agent
Get the Local Domain Fallback list for account {account_id}.
Show the account-wide domains that use a local DNS resolver.
PUT /accounts/{account_id}/devices/policy/fallback_domains Set the Local Domain Fallback list · Set your Local Domain Fallback list #
Ask an LLM
“How do I make certain domains use my local DNS resolver?”
“Can I replace the account-wide Local Domain Fallback list?”
Tell an agent
Set the Local Domain Fallback list for account {account_id}.
Replace the account-wide domains that bypass Gateway DNS.
GET /accounts/{account_id}/devices/policy/include Get the Split Tunnel include list · Get the Split Tunnel include list observed #
Ask an LLM
“Which routes are included in the WARP tunnel?”
“What is in the account-wide Split Tunnel include list?”
Tell an agent
Get the Split Tunnel include list for account {account_id}.
Show the account-wide routes included in the WARP tunnel.
PUT /accounts/{account_id}/devices/policy/include Set the Split Tunnel include list · Set the Split Tunnel include list #
Ask an LLM
“How do I include specific routes in the WARP tunnel?”
“Can I replace the account-wide Split Tunnel include list?”
Tell an agent
Set the Split Tunnel include list for account {account_id}.
Replace the account-wide WARP tunnel include list.
DELETE /accounts/{account_id}/devices/policy/{policy_id} Delete a device settings profile · Delete a device settings profile #
Ask an LLM
“How do I delete a device settings profile?”
“Can I remove a device profile and see the remaining ones?”
Tell an agent destructive · confirm first
Delete device settings profile {policy_id} from account {account_id}.
Remove device profile {policy_id} and list the rest.
GET /accounts/{account_id}/devices/policy/{policy_id} Get a device settings profile · Get device settings profile by ID #
Ask an LLM
“How do I read one device settings profile by ID?”
“What settings does a specific device profile have?”
Tell an agent
Get device settings profile {policy_id} in account {account_id}.
Show the settings of device profile {policy_id}.
PATCH /accounts/{account_id}/devices/policy/{policy_id} Update a device settings profile · Update a device settings profile #
Ask an LLM
“How do I change the settings of an existing device profile?”
“Can I rename a device settings profile?”
Tell an agent
Update device settings profile {policy_id} in account {account_id}.
Rename device profile {policy_id} to {name}.
DELETE /accounts/{account_id}/devices/policy/{policy_id}/exclude Reset a profile's Split Tunnel exclude list · Reset Split Tunnel exclude list #
Ask an LLM
“How do I restore the default Split Tunnel exclude list for one device profile?”
“Can I clear a device profile's WARP tunnel exclude list?”
Tell an agent destructive · confirm first
Reset the Split Tunnel exclude list for device profile {policy_id} in account {account_id}.
Clear the WARP tunnel exclude list of device profile {policy_id}.
GET /accounts/{account_id}/devices/policy/{policy_id}/exclude Get a profile's Split Tunnel exclude list · Get the Split Tunnel exclude list for a device settings profile #
Ask an LLM
“Which routes are excluded from the WARP tunnel for one device profile?”
“What is in a specific device profile's Split Tunnel exclude list?”
Tell an agent
Get the Split Tunnel exclude list for device profile {policy_id} in account {account_id}.
Show the WARP tunnel exclude list of device profile {policy_id}.
PUT /accounts/{account_id}/devices/policy/{policy_id}/exclude Set a profile's Split Tunnel exclude list · Set the Split Tunnel exclude list for a device settings profile #
Ask an LLM
“How do I exclude routes from the WARP tunnel for one device profile?”
“Can I replace a device profile's Split Tunnel exclude list?”
Tell an agent
Set the Split Tunnel exclude list for device profile {policy_id} in account {account_id}.
Replace the WARP tunnel exclude list of device profile {policy_id}.
DELETE /accounts/{account_id}/devices/policy/{policy_id}/fallback_domains Reset the local DNS fallback domains for a device profile · Reset Local Domain Fallback #
Ask an LLM
“How do I restore the default local DNS fallback domains for a device profile?”
“Does deleting the fallback list reset it to the defaults?”
Tell an agent destructive · confirm first
Reset the local domain fallback list for device profile {policy_id} in account {account_id}.
Restore the default local DNS fallback domains on device profile {policy_id}.
GET /accounts/{account_id}/devices/policy/{policy_id}/fallback_domains Get a profile's Local Domain Fallback list · Get the Local Domain Fallback list for a device settings profile #
Ask an LLM
“Which domains bypass Gateway DNS resolution for one device profile?”
“What is in a specific device profile's Local Domain Fallback list?”
Tell an agent
Get the Local Domain Fallback list for device profile {policy_id} in account {account_id}.
Show the domains that bypass Gateway DNS for device profile {policy_id}.
PUT /accounts/{account_id}/devices/policy/{policy_id}/fallback_domains Set the local DNS fallback domains for a device profile · Set the Local Domain Fallback list for a device settings profile #
Ask an LLM
“Which domains bypass Gateway DNS resolution for my device settings profile?”
“Can I make a device profile use a local DNS resolver for certain domains?”
Tell an agent
Set the local domain fallback list for device profile {policy_id} in account {account_id}.
Make device profile {policy_id} resolve these domains through the local DNS resolver.
GET /accounts/{account_id}/devices/policy/{policy_id}/include Get the split tunnel include list for a device profile · Get the Split Tunnel include list for a device settings profile #
Ask an LLM
“Which routes are included in the split tunnel for my device profile?”
“What does the split tunnel include list contain for a device settings profile?”
Tell an agent
Show the split tunnel include list for device profile {policy_id} in account {account_id}.
List the routes included in the tunnel of device profile {policy_id}.
PUT /accounts/{account_id}/devices/policy/{policy_id}/include Set the split tunnel include list for a device profile · Set the Split Tunnel include list for a device settings profile #
Ask an LLM
“How do I restrict a device profile to only tunnel certain routes?”
“Can I control which traffic goes through the split tunnel for a device profile?”
Tell an agent
Set the split tunnel include list for device profile {policy_id} in account {account_id}.
Limit device profile {policy_id} to tunnel only these routes.
POST /accounts/{account_id}/devices/revoke Revoke WARP devices (deprecated) · Revoke devices (deprecated) #
Ask an LLM
“How do I revoke a list of WARP devices with the deprecated endpoint?”
“Is device revocation still supported when multi-user mode is on?”
Tell an agent destructive · confirm first
Revoke the listed WARP devices in account {account_id} using the deprecated endpoint.
Use the deprecated device revocation call for account {account_id}.
POST /accounts/{account_id}/devices/unrevoke Unrevoke WARP devices (deprecated) · Unrevoke devices (deprecated) #
Ask an LLM
“How do I un-revoke WARP devices with the deprecated endpoint?”
“Can I reverse a device revocation using the older call?”
Tell an agent
Unrevoke the listed WARP devices in account {account_id} with the deprecated endpoint.
Reverse the device revocation for account {account_id} using the legacy call.
GET /accounts/{account_id}/devices/{device_id} Get a WARP device (deprecated) · Get device (deprecated) #
Ask an LLM
“How do I fetch a single WARP device with the deprecated endpoint?”
“Is the old device details call still supported for multi-user accounts?”
Tell an agent
Get WARP device {device_id} in account {account_id} using the deprecated endpoint.
Show the old device details for account {account_id} with the deprecated call.
GET /accounts/{account_id}/devices/{device_id}/override_codes Get an admin override code for a device (deprecated) · Get override codes (deprecated) #
Ask an LLM
“How do I get a one-time admin override code for a WARP device with the deprecated endpoint?”
“Does the old override code call work when multi-user mode is on?”
Tell an agent
Get the admin override code for WARP device {device_id} in account {account_id} with the deprecated endpoint.
Fetch the old override code for account {account_id} using the deprecated call.
GET /zones/{zone_id}/devices/policy/certificates Check device certificate provisioning status · Get device certificate provisioning status conformant #
Ask an LLM
“Is device certificate provisioning turned on for my zone?”
“What is the current status of device policy certificates?”
Tell an agent
Get the device certificate provisioning status for zone {zone_id}.
Check whether device policy certificates are enabled in zone {zone_id}.
PATCH /zones/{zone_id}/devices/policy/certificates Enable or disable device certificate provisioning · Update device certificate provisioning status #
Ask an LLM
“How do I turn on device certificate provisioning for WARP clients?”
“Can I control whether device policy certificates are provisioned?”
Tell an agent
Set device certificate provisioning in zone {zone_id} to {enabled}.
Enable device policy certificates in zone {zone_id} with {enabled}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudflare:cloudflare-devices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudflare-devices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Welcome to Cloudflare's API documentation site.
  license:
    name: BSD-3-Clause
    url: https://opensource.org/licenses/BSD-3-Clause
  title: Cloudflare Devices API
  version: 4.0.0
servers:
- description: Client API
  url: https://api.cloudflare.com/client/v4
security:
- api_email: []
  api_key: []
- api_token: []
- user_service_key: []
tags:


# --- truncated at 32 KB (138 KB total) ---
# Full source: https://artifacts.apis.io/cloudflare/openapi/cloudflare-devices-api-openapi.yml