Get User
curl --request GET \
--url https://cloud.cdata.com/api/v1/admin/users/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://cloud.cdata.com/api/v1/admin/users/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://cloud.cdata.com/api/v1/admin/users/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cloud.cdata.com/api/v1/admin/users/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://cloud.cdata.com/api/v1/admin/users/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://cloud.cdata.com/api/v1/admin/users/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.cdata.com/api/v1/admin/users/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"email": "jane.doe@example.com",
"first_name": "Jane",
"last_name": "Doe",
"status": "active",
"scim_managed": true,
"external_id": null,
"created_at": "2026-01-15T10:00:00Z",
"created_by": null,
"permissions": [
{
"id": "p1b2c3d4-e5f6-7890-abcd-ef1234567890",
"resource": "salesforce-prod",
"operations": [
"read"
],
"type": "connection",
"assigned_at": "2026-03-01T09:00:00Z",
"assigned_by": "00000000-0000-0000-0000-000000000001"
}
]
}{
"error": {
"code": "USER_NOT_FOUND",
"message": "The specified user does not exist."
}
}Users
ユーザーの取得
Get a single user, including their directly assigned permissions.
GET
/
users
/
{id}
Get User
curl --request GET \
--url https://cloud.cdata.com/api/v1/admin/users/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://cloud.cdata.com/api/v1/admin/users/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://cloud.cdata.com/api/v1/admin/users/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cloud.cdata.com/api/v1/admin/users/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://cloud.cdata.com/api/v1/admin/users/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://cloud.cdata.com/api/v1/admin/users/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.cdata.com/api/v1/admin/users/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"email": "jane.doe@example.com",
"first_name": "Jane",
"last_name": "Doe",
"status": "active",
"scim_managed": true,
"external_id": null,
"created_at": "2026-01-15T10:00:00Z",
"created_by": null,
"permissions": [
{
"id": "p1b2c3d4-e5f6-7890-abcd-ef1234567890",
"resource": "salesforce-prod",
"operations": [
"read"
],
"type": "connection",
"assigned_at": "2026-03-01T09:00:00Z",
"assigned_by": "00000000-0000-0000-0000-000000000001"
}
]
}{
"error": {
"code": "USER_NOT_FOUND",
"message": "The specified user does not exist."
}
}承認
The access token received from the authorization server in the OAuth 2.0 flow.
パスパラメータ
User identifier (UUID).
レスポンス
OK
User identifier.
The email address of the user.
The user's first name.
The user's last name.
Current lifecycle state of the user.
利用可能なオプション:
active, invited, deactivated false for API-created users. true for SCIM-provisioned users.
Idempotency key supplied by the calling system.
ISO 8601 UTC.
User ID of the creator. null for SCIM-provisioned users.
Direct permissions assigned to this user.
Show child attributes
Show child attributes
このページは役に立ちましたか?