IDE Services 2025.0 Help

User management via REST API

IDE Services provides a set of public REST APIs that enable you to synchronize user data between your external identity provider and IDE Services. By using these APIs, you can automate the process of creating, updating, and removing users and ensure accurate profile assignments. This guide outlines the key endpoints for establishing and maintaining that synchronization process, helping you keep your IDE Services instance in sync with your external identity provider.

Endpoints and workflow

Fetch all IDE Services users

GET /api/v1/users

Retrieve the current list of all IDE Services users.

  1. Call GET /api/v1/users to retrieve a full list of current IDE Services users.

  2. Compare the returned user list with your identity provider's system.

  3. Identify users that need to be added to or removed from IDE Services.

Add new users

POST /api/v1/users

Create new users in IDE Services.

  • For each user not found in IDE Services but present in your identity provider's system, send a POST /api/v1/users request with their details.

Delete users

DELETE /api/v1/users/{id}

Delete users from IDE Services.

  • For each user removed from your identity provider but present in IDE Services, send a DELETE /api/v1/users/{id} request, where {id} is the user’s unique identifier in IDE Services.

Fetch all IDE Services profiles

GET /api/v1/profiles

Retrieve the current list of profiles from IDE Services. This action will help you get the necessary profile identifiers, which you can later use to assign or unassign profiles.

Synchronize user profiles

  • GET /api/v1/users/{userId}/profiles

    Retrieve all profiles assigned to a specific user.

  • PUT /api/v1/users/{userId}/profiles

    Search for a required user by its ID and assign the needed profiles to them.

  • PUT /api/v1/profiles/{profileId}/users

    Search for a required profile by its ID and assign it to users.

  • DELETE /api/v1/users/{userId}/profiles/{profileId}

    Unassign a profile from a specific user.

  1. For each user, call GET /api/v1/users/{userId}/profiles to get a list of their profiles.

  2. Check the list of assigned profiles and decide whether you need to assign more profiles or unassign some of them.

  3. Call PUT /api/v1/users/{userId}/profiles or PUT /api/v1/profiles/{profileId}/users (depending on the preferable flow) to assign a profile to the user.

  4. Call DELETE /api/v1/users/{userId}/profiles/{profileId} to unassign a specific profile from the user.

Validate the changes

  • GET /api/v1/users

    Retrieve the current list of all IDE Services users.

  • GET /api/v1/users/{userId}/profiles

    Retrieve all profiles assigned to a specific user.

  1. Call GET /api/v1/users to fetch details of all IDE Services users one more time.

  2. Compare the updated data against your identity provider’s records to confirm full synchronization.

  3. Call GET /api/v1/users/{userId}/profiles to get all profiles assigned to a specific user.

  4. Check that required profiles are assigned to users.

Last modified: 21 January 2025