Skip to main content
DELETE
/
auth
/
delegated-keys
/
{id}
Revoke a delegated signing key
curl --request DELETE \
  --url https://api.lightspark.com/grid/2025-10-13/auth/delegated-keys/{id} \
  --header 'Authorization: Basic <encoded-value>'
const options = {method: 'DELETE', headers: {Authorization: 'Basic <encoded-value>'}};

fetch('https://api.lightspark.com/grid/2025-10-13/auth/delegated-keys/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
val client = OkHttpClient()

val request = Request.Builder()
.url("https://api.lightspark.com/grid/2025-10-13/auth/delegated-keys/{id}")
.delete(null)
.addHeader("Authorization", "Basic <encoded-value>")
.build()

val response = client.newCall(request).execute()
{
  "status": 400,
  "message": "<string>",
  "details": {}
}
{
"status": 401,
"message": "<string>",
"details": {}
}
{
"status": 404,
"message": "<string>",
"details": {}
}
{
"status": 500,
"message": "<string>",
"details": {}
}

Authorizations

Authorization
string
header
required

API token authentication using format <api token id>:<api client secret>

Path Parameters

id
string
required

The id of the delegated key to revoke (the id field of the DelegatedKey returned from POST /auth/delegated-keys).

Response

Delegated key revoked. The key can no longer authorize signing.