Rotate an API key
Revoke the existing key and issue a new one with the same permissions.
Revoke the existing key and issue a new one with the same permissions.
Authorization
bearerAuth AuthorizationBearer <token>
API key obtained via invite redemption or SIWE login
In: header
Path Parameters
id*string
API key ID
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://chorus.runclaw.run/admin/api-keys/string/rotate"{
"data": {
"api_key": "string",
"id": "string"
},
"meta": {
"request_id": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}