Update Background Agent
PATCH/api/background-agents/:id
Updates an existing background agent by ID.
Only the fields provided in the request body will be updated. When capabilities is provided it replaces the agent's capabilities as a whole. After changing capabilities or platform configuration for a synced agent, call the sync endpoint to push the changes to the external platform.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Background agent updated successfully
Invalid request body
Authentication required or invalid token
The token is valid but its scopes do not permit this operation. Every endpoint enforces the scopes described in API Tokens, so any of them can return this.
Background agent not found
Internal server error