curl --request DELETE \
--url https://sandbox.ignite-checkout.ai/v1/portal/workspaces/{tenant_id}/apps/{app_id}/keys/{key_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.ignite-checkout.ai/v1/portal/workspaces/{tenant_id}/apps/{app_id}/keys/{key_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.ignite-checkout.ai/v1/portal/workspaces/{tenant_id}/apps/{app_id}/keys/{key_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/portal/workspaces/{tenant_id}/apps/{app_id}/keys/{key_id}';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/portal/workspaces/{tenant_id}/apps/{app_id}/keys/{key_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"app_id": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"environment": "sandbox",
"expired": true,
"expires_at": "<string>",
"id": "<string>",
"label": "<string>",
"last_used_at": "<string>",
"prefix": "<string>",
"replaced_by": "<string>",
"revoked_at": "<string>",
"scopes": [
"<string>"
],
"status": "active",
"tenant_id": "<string>",
"copy_available": false
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}Revoke an API key
Revoke an API key so it stops authenticating immediately; the record stays for audit. Requires a dashboard sign-in with the Owner, Admin or Developer role and recent sign-in verification; Developers cannot revoke keys holding financial scopes. Revocation remains available even if Production approval was withdrawn.
Raw HTTP template
Replace path, credential and schema placeholders using valid resources. The planned host requires activation; use your assigned API URL meanwhile. Preserve a write’s original idempotency key when its contract supports retry. If sending raw HTTP/1.1, use CRLF for request and header lines.
DELETE /v1/portal/workspaces/{tenant_id}/apps/{app_id}/keys/{key_id} HTTP/1.1
Host: sandbox.ignite-checkout.ai
Authorization: Bearer <CustomerOIDC-credential>
HTTP/2 header equivalent
Logical headers over negotiated HTTPS HTTP/2, not a wire-format message. The endpoint, JSON and idempotency rules are unchanged. See HTTP and transport.
:method: DELETE
:scheme: https
:authority: sandbox.ignite-checkout.ai
:path: /v1/portal/workspaces/{tenant_id}/apps/{app_id}/keys/{key_id}
authorization: Bearer <CustomerOIDC-credential>
curl --request DELETE \
--url https://sandbox.ignite-checkout.ai/v1/portal/workspaces/{tenant_id}/apps/{app_id}/keys/{key_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.ignite-checkout.ai/v1/portal/workspaces/{tenant_id}/apps/{app_id}/keys/{key_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.ignite-checkout.ai/v1/portal/workspaces/{tenant_id}/apps/{app_id}/keys/{key_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/portal/workspaces/{tenant_id}/apps/{app_id}/keys/{key_id}';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/portal/workspaces/{tenant_id}/apps/{app_id}/keys/{key_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"app_id": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"environment": "sandbox",
"expired": true,
"expires_at": "<string>",
"id": "<string>",
"label": "<string>",
"last_used_at": "<string>",
"prefix": "<string>",
"replaced_by": "<string>",
"revoked_at": "<string>",
"scopes": [
"<string>"
],
"status": "active",
"tenant_id": "<string>",
"copy_available": false
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}Authorizations
Customer access token; current membership, role and app selection are enforced. Protected actions use recent email-code verification in the configured Sandbox or recent authenticator verification in legacy password mode. Available when customer authentication is enabled.
Response
Successful Response