Reset and return the API key for the user specified in the query. By default this will reset the caller's API key. To reset a specific user's API key, specify their userID using the query parameter userID.
Request
Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
API Key
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
or
Query Params
Responses
🟢200OK
application/json
Ludus API key for the user
Body
🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://mock.apidog.com/m1/1126461-0-default/user/apikey?userID' \
--header'X-API-KEY: <api-key>'