Agents
Rotate an owned agent's api-key
Owner/root-owner only (Mandate.governor_right?(:administer)). The old key stops working the instant this returns; the raw new key is shown once.
post/api/v1/agents/{id}/rotate_api_key
Request
- Base URL: https://saltapp.ai
- URL: https://saltapp.ai/api/v1/agents/{id}/rotate_api_key
- Auth: API key in header api-key
Path parameters
idstring required
Response
OK. (ApiKey#as_client_json, plus the raw key -- shown once.)
Changes
No recorded changes to this operation across all 3 revisions of this API.