Skip to main content
POST
/
v3
/
device
/
revoke
C#
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.

Authorizations

Authorization
string
header
required

The access token received from the /token endpoint. Refer to the Authentication page for more details.

Body

application/json
clientRequestId
string
required

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.

Example:

"71010d88-d0e7-4a24-9297-d1be6fefde81"

deviceId
string
required

The unique identifier for the Prove Key on the device.

Example:

"bf9ea15d-7dfa-4bb4-a64c-6c26b53472fc"

Response

Successful Request.

success
boolean
required

Whether the device was successfully revoked.

Example:

true