Creates a new API key for your company and returns it. The old key stops working at once, so every integration that still uses it is refused until it gets the new key.Authentication: send the login token in the header Authorization: Bearer <token>. Get it with the sign-in call (POST /api/customer-users/partner-login).The call takes no body. Use it when a key may have leaked. Update the key in all your systems straight after.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Responses
🟢200New API key
application/json
data holds the new key as one string. The old key no longer works.
Bodyapplication/json
🟠422Unexpected error
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://api.veloconnect.me/api/partners/api-keys' \
--header'Authorization: Bearer <token>'