Bulk Revoke Devices
curl --request POST \
--url https://{brand_domain}/api/mobile/v1/devices/bulk-revocations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"device_ids": [
"a810b445-564a-4e20-80a5-f1261d7b328a",
"b901c556-675b-5f31-91b6-02372e8c439b"
]
}
'import requests
url = "https://{brand_domain}/api/mobile/v1/devices/bulk-revocations"
payload = { "device_ids": ["a810b445-564a-4e20-80a5-f1261d7b328a", "b901c556-675b-5f31-91b6-02372e8c439b"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
device_ids: ['a810b445-564a-4e20-80a5-f1261d7b328a', 'b901c556-675b-5f31-91b6-02372e8c439b']
})
};
fetch('https://{brand_domain}/api/mobile/v1/devices/bulk-revocations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{brand_domain}/api/mobile/v1/devices/bulk-revocations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'device_ids' => [
'a810b445-564a-4e20-80a5-f1261d7b328a',
'b901c556-675b-5f31-91b6-02372e8c439b'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{brand_domain}/api/mobile/v1/devices/bulk-revocations"
payload := strings.NewReader("{\n \"device_ids\": [\n \"a810b445-564a-4e20-80a5-f1261d7b328a\",\n \"b901c556-675b-5f31-91b6-02372e8c439b\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{brand_domain}/api/mobile/v1/devices/bulk-revocations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"device_ids\": [\n \"a810b445-564a-4e20-80a5-f1261d7b328a\",\n \"b901c556-675b-5f31-91b6-02372e8c439b\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{brand_domain}/api/mobile/v1/devices/bulk-revocations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"device_ids\": [\n \"a810b445-564a-4e20-80a5-f1261d7b328a\",\n \"b901c556-675b-5f31-91b6-02372e8c439b\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"revoked": 2
}
}{
"success": false,
"error": "Invalid pairing code",
"errors": [
{
"code": "INVALID_PAIRING_CODE",
"message": "Invalid pairing code",
"field": null
}
],
"request_id": "8f5a2e9b0c7d4e5f"
}Bulk Revoke Devices
Revokes multiple paired devices under the brand context at once.
POST
/
api
/
mobile
/
v1
/
devices
/
bulk-revocations
Bulk Revoke Devices
curl --request POST \
--url https://{brand_domain}/api/mobile/v1/devices/bulk-revocations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"device_ids": [
"a810b445-564a-4e20-80a5-f1261d7b328a",
"b901c556-675b-5f31-91b6-02372e8c439b"
]
}
'import requests
url = "https://{brand_domain}/api/mobile/v1/devices/bulk-revocations"
payload = { "device_ids": ["a810b445-564a-4e20-80a5-f1261d7b328a", "b901c556-675b-5f31-91b6-02372e8c439b"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
device_ids: ['a810b445-564a-4e20-80a5-f1261d7b328a', 'b901c556-675b-5f31-91b6-02372e8c439b']
})
};
fetch('https://{brand_domain}/api/mobile/v1/devices/bulk-revocations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{brand_domain}/api/mobile/v1/devices/bulk-revocations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'device_ids' => [
'a810b445-564a-4e20-80a5-f1261d7b328a',
'b901c556-675b-5f31-91b6-02372e8c439b'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{brand_domain}/api/mobile/v1/devices/bulk-revocations"
payload := strings.NewReader("{\n \"device_ids\": [\n \"a810b445-564a-4e20-80a5-f1261d7b328a\",\n \"b901c556-675b-5f31-91b6-02372e8c439b\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{brand_domain}/api/mobile/v1/devices/bulk-revocations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"device_ids\": [\n \"a810b445-564a-4e20-80a5-f1261d7b328a\",\n \"b901c556-675b-5f31-91b6-02372e8c439b\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{brand_domain}/api/mobile/v1/devices/bulk-revocations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"device_ids\": [\n \"a810b445-564a-4e20-80a5-f1261d7b328a\",\n \"b901c556-675b-5f31-91b6-02372e8c439b\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"revoked": 2
}
}{
"success": false,
"error": "Invalid pairing code",
"errors": [
{
"code": "INVALID_PAIRING_CODE",
"message": "Invalid pairing code",
"field": null
}
],
"request_id": "8f5a2e9b0c7d4e5f"
}Authorizations
Enter your Short-lived access JWT token.
Body
application/json
Array of device UUID strings to revoke.
Example:
[
"a810b445-564a-4e20-80a5-f1261d7b328a",
"b901c556-675b-5f31-91b6-02372e8c439b"
]
Last modified on July 12, 2026
Related topics
Revoke Paired DeviceFeatures and CapabilitiesPaired Devices - Connect and Manage Android PhonesRevoke API KeySecurity and Compliance - PCI, Encryption, and RBACWas this page helpful?
⌘I