Skip to main content

Migrating away from the SDS LDAP API

Find out what's involved in migrating away from this deprecated API.

Overview

The Spine Directory Service (SDS) LDAP API is deprecated. In due course it will be retired, although we haven't yet decided on a retirement date.

If you have an application that uses the API, you'll need to change your application to use one or more of the replacement APIs.

This page explains the benefits of migrating and how to migrate.


Benefits of migrating

  1. The replacement APIs are internet-facing, whereas the SDS LDAP API can only be used over HSCN. This supports our Internet first architecture principle and allows end users to access systems and data when an HSCN connection isn't available and allows NHS organisations to cut costs by removing the need for an HSCN connection.
  2. The replacement APIs are RESTful and thus more familiar to developers maintaining your code than LDAP.
  3. The replacement APIs use OAuth 2.0 for security, as opposed to TLS-MA. This means you don't need to worry about renewing your TLS-MA certificates when they expire.
  4. The replacement APIs offer, or will in future offer, improved capabilities. For example, in the future it will be possible to obtain a healthcare worker's complete set of national RBAC activities - whether they be directly assigned, inferred from their role, or as an 'included' activity - via CIS2 Authentication and the Healthcare Worker API.
  5. The SDS LDAP API will move to a reduced Service Level Agreement in due course and will eventually be retired and unavailable for use.

How to migrate

SDS is a datastore with a hierarchical tree-like structure, much like the folders and files in a computer file system.

The structure has a root (O=nhs) and five top level branches:

  • The organisations branch (ou=Organisations)
  • The people branch (ou=People)
  • The IT systems branch (ou=Services)
  • the reference data branch (ou=ReferenceData)
  • The change log branch (ou=ChangeLog)

Your migration approach depends on which of the branches you are using.


Migrating from the organisations branch

If you're using the organisations branch, migrate to Organisation Data Terminology - FHIR API.


Migrating from the people branch

The people branch holds information on Care Identity Service (CIS) users.

Currently signed in CIS user

If you're using the people branch to get information about the currently signed in CIS user:

  1. if you're still using CIS1 Authentication to authenticate the user, migrate to CIS2 Authentication
  2. use the CIS2 Authentication user info endpoint to get the user's information

Other CIS users

If you're using the people branch to get information about a CIS user who isn't currently signed in, migrate to Healthcare Worker - FHIR API.

We know there are some gaps in this API and we're working on a roadmap to fill those gaps.


Migrating from the IT systems branch

If you're using the IT systems branch (ou=Services), migrate to Spine Directory Service - FHIR API.

A common use case is for API consumers of GP Connect. The GP Connect team can support you through the migration - contact them for details.


Migrating from the reference data branch

If you're using the reference data branch, contact us.


Migrating from the change log branch

If you're using the change log branch, contact us.


Help and support

If you have any questions about migration, including use cases that our replacement APIs don't support, you can get help and support via the NHS England Customer Portal (SDS LDAP deprecation enquiry form).

Last edited: 26 May 2026 10:57 am