Update broker connection
PUT/api/v1/brokers/:id
Update credential or status fields for an existing broker connection. All body fields are optional. Only fields that are present in the request body are updated. Sensitive fields (clientSecret, accessToken, refreshToken) are encrypted before storage and are never returned in responses. Passing an empty string for clientSecret leaves it unchanged.
Request
Responses
- 200
- 401
- 404
- 500
Broker connection updated successfully
Authentication required
Broker connection not found or does not belong to the authenticated user
Server error