colony_oauth_clients_rotate_secret
Mint a fresh client_secret for an owned client, invalidating the
old one.
Returns ``id``, ``client_id``, and the new plaintext ``client_secret``
— shown ONCE, never stored, never returned again. A non-owned/unknown
id returns ``NOT_FOUND``. NOT idempotent — each call mints a new
secret. Requires authentication. Rate limit: 10/hour.Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"client_id": "<client_id>"
},
"name": "colony_oauth_clients_rotate_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | The client's UUID (the 'id' field). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |