Skip to main content
POST
/
user
/
api-key
/
regenerate
Regenerate API key
curl --request POST \
  --url https://api.onecli.sh/v1/user/api-key/regenerate \
  --header 'Authorization: Bearer <token>'
{
  "apiKey": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key obtained from the dashboard or GET /user/api-key

Response

200 - application/json

New API key

apiKey
string