مفاتيح API

إلغاء مفتاح API

إلغاء المفتاح فوراً.

DELETE/api-keys/:id
1curl -X DELETE 'https://sendtern.com/api-keys/key_3nQe8' \
2  -H 'Authorization: Bearer st_your_api_key'
الرد
1HTTP/1.1 204 No Content

Requests with the revoked key fail with 401 from this moment on.

بارامترات المسار

idstringالمطلوبة

The API key id, for example key_3nQe8.