Rotate the client secret
Mints a new client secret and returns the plaintext once. The
previous secret remains valid for POST /oauth/token for 24
hours after rotation, then is destroyed (sweeper job).
Re-rotating before the prior overlap window closes is rejected
with rotation_in_progress (409) to prevent a 3-key chain.
Idempotency-Key header is accepted.
Authorizations
Headers
Required on writes. Stable identifier you choose. The same key
always returns the same transaction, forever. Can also be supplied as
idempotency_key in the request body. Header wins.
Allowed character set: A-Z, a-z, 0-9, _, :, ., -.
Max 255 bytes. Replays of an accepted key return the original
response with header Idempotent-Replayed: true so callers can
tell a replay from a freshly-committed result.
1 - 255^[A-Za-z0-9_:.\-]+$"pi_acme_1234_capture"
Response
Rotated. Body includes one-time client_secret.