Rotate datasource instance credentials
Rotates 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: APIToken (a scheme the document does not define)
Path parameters
The full datasource instance identifier (e.g. o365sharepoint_abc123)
Request body
Response
OK
Changes
No recorded changes to this operation across all 139 revisions of this API.