List devices
Returns a list of devices per user that have authenticated on this server. Each record includes the device name (e.g. iPad, iPhone), install tag ID, client ID, and remote wipe flag.
Unique identifier of install tag for this Device
Unique identifier of install tag for this Device. Search for results that contain the specified characters in this parameter.
Unique identifier of user for this Device
Unique identifier of user for this Device. Search for results that match any of the specified values for this parameter.
Unique identifier of client for this Device
Unique identifier of client for this Device. Search for results that contain the specified characters in this parameter.
Sorting options
Offset
Limit
With parameters
Determines the detail level of the response body.
Returns a paginated list of device records.
Unique identifier of Device
Unique identifier of client for this Device
Unique identifier of user for this Device
Unique identifier of the install tag for this device. Usually the serial number of the device
Install Tag name for this Device. e.g. Someone's IPhone
Flag that tells the device to remote wipe itself.
- 0 = not set, 1 = set, 2 = device has been notified, 3 = wipe is completed
Key to encrypt files on this device
HATEOAS links associated with the entity
Total number of items available.
Maximum number of items returned per page.
Number of items skipped before the current page.
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/devices" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
url = "https://{instance}.kiteworks.com/rest/devices"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Register a device
Registers a new device for a user. Called when a user logs in to Kiteworks to track the device they are using.
If set to true, returns information about the newly created entity.
Determines the detail level of the response body.
Unique identifier of client for this Device
Unique identifier of user for this Device
Unique identifier of the install tag for this device. Usually the serial number of the device
Install Tag name for this Device. e.g. Someone's IPhone
Key to encrypt files on this device
Indicates whether HATEOAS links should be included in the response
Returns the newly registered device record.
Unique identifier of Device
Unique identifier of client for this Device
Unique identifier of user for this Device
Unique identifier of the install tag for this device. Usually the serial number of the device
Install Tag name for this Device. e.g. Someone's IPhone
Flag that tells the device to remote wipe itself.
- 0 = not set, 1 = set, 2 = device has been notified, 3 = wipe is completed
Key to encrypt files on this device
HATEOAS links associated with the entity
Forbidden
Possible error codes: ERR_ACCESS_USER
Error code
Error message
Conflict
Possible error codes: ERR_ENTITY_EXISTS
Error code
Error message
Unprocessable Content
Possible error codes: ERR_INPUT_REQUIRED
Error code
Error message
Request blocked by WAF
curl -X POST \
"https://{instance}.kiteworks.com/rest/devices" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"clientId": "string",
"userId": "string",
"installTagId": "string",
"installName": "string",
"mobileKeyStore": "string",
"addLinks": true
}'import requests
url = "https://{instance}.kiteworks.com/rest/devices"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"clientId": "string",
"userId": "string",
"installTagId": "string",
"installName": "string",
"mobileKeyStore": "string",
"addLinks": true
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())Report wipe completed
Notifies the server that the current device has completed a requested remote wipe. Updates the wipe flag to completed.
Wipe completion acknowledged. Returns no content.
Request blocked by WAF
curl -X PATCH \
"https://{instance}.kiteworks.com/rest/devices/me/actions/wipe" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
url = "https://{instance}.kiteworks.com/rest/devices/me/actions/wipe"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.patch(url, headers=headers)
print(response.json())Get a device
Returns the details of the specified device, including device name, install tag ID, client ID, and remote wipe flag.
The unique identifier of the device.
Returns the device record.
Unique identifier of Device
Unique identifier of client for this Device
Unique identifier of user for this Device
Unique identifier of the install tag for this device. Usually the serial number of the device
Install Tag name for this Device. e.g. Someone's IPhone
Flag that tells the device to remote wipe itself.
- 0 = not set, 1 = set, 2 = device has been notified, 3 = wipe is completed
Key to encrypt files on this device
HATEOAS links associated with the entity
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/devices/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier of the device.
url = f"https://{{instance}}.kiteworks.com/rest/devices/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Update a device
Updates the details of the specified device. Supports updating the mobile key store and messaging registration token.
The unique identifier of the device.
Key to encrypt files on this device
Set the token for messaging registration
Indicates whether HATEOAS links should be included in the response
Returns the updated device record.
Unique identifier of Device
Unique identifier of client for this Device
Unique identifier of user for this Device
Unique identifier of the install tag for this device. Usually the serial number of the device
Install Tag name for this Device. e.g. Someone's IPhone
Flag that tells the device to remote wipe itself.
- 0 = not set, 1 = set, 2 = device has been notified, 3 = wipe is completed
Key to encrypt files on this device
HATEOAS links associated with the entity
Forbidden
Possible error codes: ERR_ACCESS_USER
Error code
Error message
Unprocessable Content
Possible error codes: ERR_INPUT_REQUIRED
Error code
Error message
Request blocked by WAF
curl -X PUT \
"https://{instance}.kiteworks.com/rest/devices/:id" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"mobileKeyStore": "string",
"registrationToken": "string",
"addLinks": true
}'import requests
id = "VALUE" # The unique identifier of the device.
url = f"https://{{instance}}.kiteworks.com/rest/devices/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"mobileKeyStore": "string",
"registrationToken": "string",
"addLinks": true
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())Delete a device
Deletes the specified device.
The unique identifier of the device.
The device was successfully deleted. Returns no content.
Forbidden
Possible error codes: ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X DELETE \
"https://{instance}.kiteworks.com/rest/devices/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # The unique identifier of the device.
url = f"https://{{instance}}.kiteworks.com/rest/devices/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.delete(url, headers=headers)
print(response.json())Get the wipe status
Returns the remote wipe status of the specified device, identified by its install tag ID (usually the device serial number).
The unique install tag identifier for the device, usually the device serial number.
Returns an object containing the wipe status flag for the device.
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/devices/:install_tag_id/wipe" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
install_tag_id = "VALUE" # The unique install tag identifier for the device, usually the device serial number.
url = f"https://{{instance}}.kiteworks.com/rest/devices/{install_tag_id}/wipe"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())List devices for a user
Returns a list of devices registered to the specified user.
ID of the user whose devices to be retrieved
Returns a paginated list of device records for the specified user.
Unique identifier of Device
Unique identifier of client for this Device
Unique identifier of user for this Device
Unique identifier of the install tag for this device. Usually the serial number of the device
Install Tag name for this Device. e.g. Someone's IPhone
Flag that tells the device to remote wipe itself.
- 0 = not set, 1 = set, 2 = device has been notified, 3 = wipe is completed
Key to encrypt files on this device
HATEOAS links associated with the entity
Total number of items available.
Maximum number of items returned per page.
Number of items skipped before the current page.
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/users/:id/devices" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the user whose devices to be retrieved
url = f"https://{{instance}}.kiteworks.com/rest/users/{id}/devices"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Log out the current user
Description:
Logs out the current user and invalidates the active session.Precondition:
User must have an active session.Response:
Returns logout confirmation details.The user has been successfully logged out.
URL to redirect to after logout.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Request blocked by WAF
curl -X DELETE \
"https://{instance}.kiteworks.com/rest/devices/me/actions/logout" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
url = "https://{instance}.kiteworks.com/rest/devices/me/actions/logout"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.delete(url, headers=headers)
print(response.json())