Authorize an MCP data source
POST/v1/data_sources/:id/authorize
Restarts the OAuth authorization of an MCP server. Returns authorization_url for a person signed in to the dashboard to open in a browser, or null plus the connection test when the stored tokens still work.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
- 500
Authorization URL or test outcome.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.