Block an Virtual key from making any requests.
Parameters:
Example:
curl --location 'http://0.0.0.0:4000/key/block' --header 'Authorization: Bearer sk-1234' --header 'Content-Type: application/json' --data '{
"key": "sk-Fn8Ej39NxjAXrvpUGKghGw"
}'
Note: This is an admin-only endpoint. Only proxy admins can block keys.
The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability