latestSwagger 2.02026-08-1095121164.0 KB

94758829689e

users

Get User by ID

Retrieves a user by their ID from the Pantheon system.

This endpoint forwards the request to the backend API and returns the user details.

get/v0/users/{user_id}

Path parameters

user_idstring required

User ID

Response

emailstring required

Email address

idstring required

User ID

Example response

{
  "email": "user@example.com",
  "id": "17f91e87-3807-4c93-837a-78f388bfbb5c",
  "profile": {
    "firstname": "John",
    "lastname": "Doe"
  }
}