API Reference
User
Get user
code examples curl location globoff 'https //api catenda com/v2/scim/v2/users/{user id}' \\ \ header 'accept application/json' \\ \ header 'content type application/json'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'get', headers myheaders, redirect 'follow' }; fetch("https //api catenda com/v2/scim/v2/users/{user id}", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("https //api catenda com/v2/scim/v2/users/{user id}") https = net http new(url host, url port) https use ssl = true request = net http get new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" response = https request(request) puts response read body import requests import json url = "https //api catenda com/v2/scim/v2/users/{user id}" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // ok { "active" true, "schemas" \[ "urn\ ietf\ params\ scim\ schemas\ core 2 0\ user" ], "id" "2819c223 7f76 453a 919d 413861904646", "meta" { "resourcetype" "user", "created" "2011 08 01t18 29 49 793z", "lastmodified" "2011 08 01t18 29 49 793z", "location" "https //example com/v2/users/2819c223 7f76 453a 919d 413861904646", "version" "w\\\\/\\\\\\"f250dd84f0671c3\\\\\\"" }, "username" "john smith\@example com", "externalid" "john smith", "name" { "formatted" "johnsmith", "familyname" "smith", "givenname" "john" }, "emails" \[ { "value" "john smith\@example com", "primary" true, "type" "work" } ] }