Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

Skip to main content
DELETE
/
api-keys
/
{id}
Revoke API key
curl --request DELETE \
  --url https://xquik.com/api/v1/api-keys/{id} \
  --header 'x-api-key: <api-key>'
import requests

url = "https://xquik.com/api/v1/api-keys/{id}"

headers = {"x-api-key": "<api-key>"}

response = requests.delete(url, headers=headers)

print(response.text)
const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};

fetch('https://xquik.com/api/v1/api-keys/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://xquik.com/api/v1/api-keys/{id}"

req, _ := http.NewRequest("DELETE", url, nil)

req.Header.Add("x-api-key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
Free - does not consume credits
curl -X DELETE https://xquik.com/api/v1/api-keys/42 \
  -H "Cookie: session_token=YOUR_SESSION_TOKEN" | jq
const response = await fetch("https://xquik.com/api/v1/api-keys/42", {
  method: "DELETE",
  headers: { "Cookie": "session_token=YOUR_SESSION_TOKEN" },
});
const result = await response.json();
console.log(result);
import requests

response = requests.delete(
    "https://xquik.com/api/v1/api-keys/42",
    cookies={"session_token": "YOUR_SESSION_TOKEN"},
)
result = response.json()
print(result)
package main

import (
	"fmt"
	"io"
	"log"
	"net/http"
)

func main() {
	req, err := http.NewRequest("DELETE", "https://xquik.com/api/v1/api-keys/42", nil)
	if err != nil {
		log.Fatal(err)
	}
	req.AddCookie(&http.Cookie{Name: "session_token", Value: "YOUR_SESSION_TOKEN"})

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		log.Fatal(err)
	}
	defer resp.Body.Close()

	body, err := io.ReadAll(resp.Body)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(string(body))
}

Path parameters

string
required
The unique identifier of the API key to revoke.

Headers

Dashboard session cookie. Format: session_token=YOUR_SESSION_TOKEN.

Response

  • 200 OK
  • 400 Invalid ID
  • 401 Unauthenticated
  • 404 Not Found
  • 429 Rate Limited
boolean
Always true when the key is successfully revoked.
{ "success": true }
Revocation is immediate and permanent. All requests using the revoked key will return 401 Unauthenticated. This action cannot be undone. Create a new key if needed.
API key revocation requires a same-origin dashboard session. API keys and OAuth bearer tokens cannot revoke account keys.Related: Create API Key · List API Keys
Last modified on July 16, 2026
Morty Proxy This is a proxified and sanitized view of the page, visit original site.