Rotate datasource instance credentials
Changed onRotates the credentials that a datasource instance uses to connect to its upstream system. Replaces the active credential material with the supplied values and returns the credential status after rotation. Access is limited to callers with the ADMIN scope; the handler enforces this check. Only keys recognized as credential material for the datasource type may be set in credentials.values (e.g. clientSecret, apiToken, privateKey, depending on the configured auth method). Unrecognized keys, or keys that correspond to non-credential configuration, cause a 400; other instance configuration must be updated via PATCH /configure/datasources/{datasourceId}/instances/{instanceId}.
Request
- Base URL: https://instance-name-be.glean.com
- URL: https://instance-name-be.glean.com/rest/api/v1/datasource/{datasourceInstanceId}/credentials
- Auth: HTTP bearer
Path parameters
The full datasource instance identifier (e.g. o365sharepoint_abc123)
Request body
Response
OK
Changes
- info
the endpoint scheme security
APITokenwas added to the API
- info
- info
the endpoint scheme security
APITokenwas removed from the API
- info