Rotate an app's API key
POST/apps/{appId}/rotate-key
Authenticate with an operator token or a signed-in Foliot Console session.
An operator token, or a signed-in person who is an owner of the app’s workspace. Never an app key: an app must not be able to mint its own replacement. Immediate: the old key stops working at once. Unlike the signing secret there is no rollover, because the caller receives the new key before it needs it. Recorded in the credential history with the caller as the actor.
Path parameters
appId
stringREQUIRED
The app's name.
Request body
reason
stringOPTIONAL
Why. Optional; recorded with the action.
max length 1000