Administering data sources

FAIR supports connections to a variety of external data sources.

Where one or more of these is not required the hub owner has the option to disable them via the FAIR API.

Disabling a data source removes it from the UI options when a data owner is creating or managing a dataset.

API endpoints

The following API endpoints are available to manage FAIR data sources:

API EndpointDescription
GET /datasourcetypesReturns a list of all available data source types, including if they are enabled or disabled
GET /datasourcetypes/{code}Returns all details of a specific data source based on the code
PATCH /datasourcetypes/{code}Allows the datasource enabled status to be set to true or false by default all data sources are set to true

The API endpoints are fully documented here.

To use these endpoints users require a role that allows them to issue a token with the following permissions:

  • Tokens can view global datasource types and available features - API Only
  • Tokens can modify global datasource types availability - API Only

By default the Data Steward role has the permission to issue tokens with these premissions.

Updated on July 15, 2025

Was this article helpful?