Supprimer une clé d'API de l'opérateur

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://tech.covoiturage.beta.gouv.fr/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"API RPC - Documentation technique MCP server": {
  "url": "https://tech.covoiturage.beta.gouv.fr/mcp"
}
Close
DELETE /auth/credentials

Query parameters

  • token_id string Required

    Identifiant de la clé d'API à supprimer

Responses

  • 204

    La clé d'API a été supprimée

  • 401 application/json

    Non authentifié. Le token applicatif est manquant ou invalide.

  • 403 application/json

    Non autorisé

DELETE /auth/credentials
curl \
 --request DELETE 'https://api.covoiturage.beta.gouv.fr/v3.3/auth/credentials?token_id=string' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (401)
{
  "id": 1,
  "jsonrpc": "2.0",
  "error": {
    "data": "Unauthorized application",
    "code": -32501,
    "message": "Unauthorized Error"
  }
}
Response examples (403)
{
  "id": 1,
  "jsonrpc": "2.0",
  "error": {
    "data": "Invalid permissions",
    "code": -32503,
    "message": "Forbidden Error"
  }
}