Reset credits for all API keys
POST
https://api.rimunace.xyz/admin/credit-reset
Admin
Last modified:2025-02-16 11:04:20
Maintainer:Respire
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.rimunace.xyz/admin/credit-reset'
Responses
🟢200OK
application/json
Body
message
stringÂ
optional
keysReset
integerÂ
optional
results
array [object {2}]Â
optional
key
stringÂ
optional
updatedConfig
object (ApiKeyConfig)Â
optional
Example
{
"message": "string",
"keysReset": 0,
"results": [
{
"key": "string",
"updatedConfig": {
"tier": "free",
"credits": 0,
"maxCredits": 0,
"rpm": 1,
"rph": 1,
"owner": {
"discord_id": "string",
"discord_username": "string",
"discord_img": "string",
"category": "string"
}
}
}
]
}
🟠401Unauthorized
🔴500Server Error