Apps
Replace an app's AI key
Revokes the key the app runs on, gives it a new one with the same settings and tool bundles (active, even if the old one was paused), and redeploys the app so it starts using it. The old key stops working immediately. redeployed: false means the key was replaced but the redeploy was not started — redeploy the app to start using the new key. The new key is never returned. A person signed in to the console only: an API key or agent connection gets 403. Needs deploy rights on the app and key rights in its project. id is a SERVICE id.
post/client/services/{id}/gateway-key/replace
Request
- Base URL: https://api.roar-ai.com
- URL: https://api.roar-ai.com/client/services/{id}/gateway-key/replace
- Auth: HTTP bearer
Path parameters
idstring uuid required
Response
The new key's id and prefix, and whether the redeploy started. (Response shape not yet modelled in this spec.)
object required
Changes
No recorded changes to this operation across all 1 revision of this API.