using Prove.Proveapi;
using Prove.Proveapi.Models.Components;
var sdk = new ProveAPI(auth: "<YOUR_AUTH_HERE>");
V3DeviceRevokeRequest req = new V3DeviceRevokeRequest() {
ClientRequestId = "71010d88-d0e7-4a24-9297-d1be6fefde81",
DeviceId = "bf9ea15d-7dfa-4bb4-a64c-6c26b53472fc",
};
var res = await sdk.V3.V3DeviceRevokeRequestAsync(req);
// handle response{
"success": true
}This endpoint allows you to revoke a Prove Key device, marking it as inactive so it can no longer be used in an auth flow.
using Prove.Proveapi;
using Prove.Proveapi.Models.Components;
var sdk = new ProveAPI(auth: "<YOUR_AUTH_HERE>");
V3DeviceRevokeRequest req = new V3DeviceRevokeRequest() {
ClientRequestId = "71010d88-d0e7-4a24-9297-d1be6fefde81",
DeviceId = "bf9ea15d-7dfa-4bb4-a64c-6c26b53472fc",
};
var res = await sdk.V3.V3DeviceRevokeRequestAsync(req);
// handle response{
"success": true
}Documentation Index
Fetch the complete documentation index at: https://developer.prove.com/llms.txt
Use this file to discover all available pages before exploring further.
The access token received from the /token endpoint. Refer to the Authentication page for more details.
A client-generated unique ID for a specific session. This can be used to identify specific requests. The format of this ID is defined by the client - Prove recommends using a GUID, but any format can be accepted. Do not include Personally Identifiable Information (PII) in this field.
"71010d88-d0e7-4a24-9297-d1be6fefde81"
The unique identifier for the Prove Key on the device.
"bf9ea15d-7dfa-4bb4-a64c-6c26b53472fc"
Successful Request.
Whether the device was successfully revoked.
true
Related topics
Implement Prove Passive Authentication With Customer-Supplied Possession FallbackImplement Customer Possession With Force BindImplement Prove Possession Using The Android SDKWas this page helpful?