How to revoke and delete an API key.
curl --request DELETE \
--url 'http://localhost:5001/api-keys/<api-key-id>?owner=owner_id' \
--header 'X-blnk-key: <api-key>'
{}
server.secret_key from your configuration).X-blnk-key: <api-key>.
Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.
See also: Secure your Blnk server
curl --request DELETE \
--url 'http://localhost:5001/api-keys/<api-key-id>?owner=owner_id' \
--header 'X-blnk-key: <api-key>'
{}
Was this page helpful?
curl --request DELETE \
--url 'http://localhost:5001/api-keys/<api-key-id>?owner=owner_id' \
--header 'X-blnk-key: <api-key>'
{}