/api-key
Updates a API key
token<token>
API key authentication via header (token)
In: header
Undefined fields will not be changed
tokenstring
Length
length <= 550
usageLimited?boolean
Default
false
maxUsageCredits?integer | null
Default
0
Range
0 <= value <= 1000000
status?string
Default
"Active"
Value in
"Active" | "Revoked"
Response Body
curl -X PATCH "https://loading/./../api/v1/api-key/" \
-H "Content-Type: application/json" \
-d '{
"token": "id_or_apiKey_api-key-to-update",
"usageLimited": true,
"maxUsageCredits": 1000000
}'
{
"data": {
"token": "masumi-registry-api-key-secret",
"permission": "User",
"usageLimited": true,
"maxUsageCredits": 1000000,
"accumulatedUsageCredits": 0,
"status": "Active"
},
"status": "success"
}
Empty
Empty
Empty