Skip to main content
POST
/
api
/
v1
/
user
/
company
/
api-key
/
renew
Renew company API key
curl --request POST \
  --url http://localhost:7701/api/v1/user/company/api-key/renew \
  --header 'Authorization: Bearer <token>'
{
  "api_key": "sk_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"
}

Authorizations

Authorization
string
header
required

User JWT token — obtained from /api/v1/auth/login or /api/v1/auth/register.

Response

New API key generated

api_key
string
Example:

"sk_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"