Roll API Key
https://api.ocamba.com/v2/ocamba/personal-api-keys/{id}/roll
https://api.ocamba.com/v2/ocamba/personal-api-keys/{id}/roll
Generates a new API Key with same settings and deactivates the existing one immediately.
Name
Descriptionidstringrequired
API Key identifier.Example: id=1001
200 - OK
Name
Descriptioncompany_idstring
The ID of the company, assigned by Ocamba API.descriptionstring
A more details about API key for easy identification.Example: My API Key
end_timedateTime
Ending date and time for API Key. Timezone: GMT.Example: 2024-11-25 13:45:03
idstring
API Key indentifier.Example: 1001
namestring
A descriptive name for the API key for easy identification.Example: My API Key
secretstring
API Key.Example: i01S296VTdPI00F3tPbONQ
start_timedateTime
Starting date and time for API Key. Timezone: GMT.Example: 2021-11-25 13:45:03
statusstring
Api Key status.Example: active
Possible values: active | pending | expired
400 - Bad Request
Name
Descriptioncodeinteger
Http response status code.Example: 400
messagestring
The human readable message that describes how to deal with error.Example: The request body is not valid.
titlestring
The error title.Example: Bad request.
trace_idstring
Error trace id.Example: 99a84211-f73d-4ff8-acdf-eb3e06bb9d62
500 - Internal Server Error
Name
Descriptioncodeinteger
Http response status code.Example: 500
messagestring
The human readable message that describes how to deal with error.Example: Internal server error.
titlestring
The error title.Example: Internal server error.