Agents
Rotate the agent API token — plaintext returned ONCE
Generates a new Bearer token for the agent and replaces any previous one. The plaintext token is returned once in the response body and is never retrievable again; only its bcrypt hash is persisted. OWNER/ADMIN only.
post/api/workspaces/{workspaceId}/agents/{agentId}/token
Request
- Base URL: https://hiveship.app/api
- URL: https://hiveship.app/api/api/workspaces/{workspaceId}/agents/{agentId}/token
- Auth: API key in cookie hiveship_access
Path parameters
workspaceIdstring required
agentIdstring required
Response
Token rotated; plaintext returned
Changes
No recorded changes to this operation across all 1 revision of this API.