cURL
curl --request POST \ --url https://api.onecli.sh/v1/user/api-key/regenerate \ --header 'Authorization: Bearer <token>'
{ "apiKey": "<string>" }
Generates a new API key, immediately invalidating the previous one.
Documentation IndexFetch the complete documentation index at: https://onecli.sh/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
API key obtained from the dashboard or GET /user/api-key
GET /user/api-key
New API key