Upsert Organization Oauth Credentials
PUT/api/v1/oauth/credentials
Create or update OAuth credentials for the user's organization.
This endpoint:
- Extracts organization_id from the user's token
- Validates the configuration against the connector's OAuth spec
- Stores secrets and replaces them with secret coordinates
- Proxies the credentials to Coral's organization OAuth endpoint
- Saves the record to Sonar's database
Request
Responses
- 200
- 400
- 403
- 422
- 500
Successful Response
Bad request
Forbidden
Unprocessable entity
Internal server error