Use this endpoint to retrieve a user's information and their associated workspaces.

GET

/users/{id}

curl -X GET \
https://api.anaplan.com/scim/1/0/v2/Users/{id}
-H 'authorization: AnaplanAuthToken {anaplan_auth_token}'

In this example, the request returns a response about user Barbara Jensen who is associated with two workspaces, Finance and Sales.

 HTTP/1.1 200 OK
   Content-Type: application/scim+json
   Location: https://api.anaplan.com/scim/1/0/v2/Users/2819c223-7f76-453a-919d-413861904646
   {
       "schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],
       "id":"2819c223-7f76-453a-919d-413861904646",
       "externalId":"bjensen",
       "active": "True",
       "userName":"bjensen@example.com",
       "meta":{
           "resourceType":"User",
           "created":"2019-08-01T18:29:49.793Z",
           "lastModified":"2019-08-01T18:29:49.793Z",
           "location": "https://api.anaplan.com/scim/1/0/v2/Users/2819c223-7f76-453a-919d-413861904646"
       },
       "name":{
         "formatted":"Barbara Jensen",
         "familyName":"Jensen",
         "givenName":"Barbara"
       },
       "active": true,
       "entitlements":[
         {
           "value": "6edb50156273d29050001",
           "display": "Finance Workspace"
           "type":"WORKSPACE"
           },
     {
       "value":"6edb50156273d29050002",
       "display": "Sales Workspace",
       "type":"WORKSPACE"
     }
    ]
   }