Skip to main content
DELETE
/
core
/
provisioning-tokens
/
{id}
curl -X DELETE https://acusight.io/api/provisioning-tokens/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer <TOKEN>"
{
  "success": true,
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "revoked_at": "2024-01-15T14:30:00Z"
  }
}
Revokes a provisioning token, preventing it from being used to provision new devices. Devices already provisioned with this token are not affected.

Path Parameters

id
string
required
The UUID of the token to revoke

Response

id
string
The ID of the revoked token
revoked_at
string
ISO 8601 timestamp when the token was revoked

Errors

StatusCodeDescription
400VALIDATION_ERRORInvalid token ID format
400VALIDATION_ERRORToken already revoked
404NOT_FOUNDToken not found
curl -X DELETE https://acusight.io/api/provisioning-tokens/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer <TOKEN>"
{
  "success": true,
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "revoked_at": "2024-01-15T14:30:00Z"
  }
}