"Best analytics tool I've used in 14 years"

Delete access token

DELETE https://datafa.st/api/v1/admin/access-tokens/{tokenId}

Revoke one dft_ account token permanently. You can only delete tokens you created.
Requires a dft_ account token with api-keys:write.

Request

Path parameters

tokenId
string
Access token ObjectId from List access tokens.

Response

Returns a JSON object with status: "success" and endpoint-specific fields in data.

Response fields

data[].message
string
Human-readable confirmation or status message for the operation.

Authentication

Requires a dft_ account token with api-keys:write. Website API keys (df_) cannot call this endpoint because it manages account-level resources.
Create tokens in Account settings → API.

Errors

403 — Called with a df_ website key.

404 — Token not found or not owned by the caller.

See API errors for the standard error envelope, auth failures, validation errors, permission errors, and rate limits.

✍️ Something missing? Suggest features.

🤖 AI agent or LLM? Read this page as markdown

Example request
curl -X DELETE "https://datafa.st/api/v1/admin/access-tokens/{tokenId}" \
  -H "Authorization: Bearer dft_xxx"
Success response
{
  "status": "success",
  "data": [{
    "message": "Access token deleted successfully"
  }]
}