- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
GET /team
List all teams linked to your Cloudcraft account.
The response is an array of teams. Each entry includes information about the team, such as the team ID, name, and members.
OK
{
"createdAt": "2022-01-01T20:54:47.282Z",
"crossOrganizational": false,
"customerId": "86e9951e-3764-48d7-b318-969f8a6d180b",
"externalSharing": true,
"id": "us46e9aa-5806-4cd6-8e78-c22d58602d09",
"members": {
"email": "user@example.org",
"id": "17cf37c9-578c-4587-acb9-299c5431ad10",
"mfaEnabled": true,
"name": "Example User Name",
"role": "admin",
"userId": "370809cc-abdc-42ad-bb40-8541ca0dfb1a"
},
"name": "Example Team Name",
"role": "admin",
"updatedAt": "2022-01-01T20:54:53.963Z",
"visible": true
}
Unauthorized
curl --location 'https://api.cloudcraft.co/team'
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.cloudcraft.co/team"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://api.cloudcraft.co/team")
.method("GET", body)
.build();
Response response = client.newCall(request).execute();
import http.client
conn = http.client.HTTPSConnection("api.cloudcraft.co")
payload = ''
headers = {}
conn.request("GET", "/team", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
require "uri"
require "net/http"
url = URI("https://api.cloudcraft.co/team")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
response = https.request(request)
puts response.read_body
var requestOptions = {
method: 'GET',
redirect: 'follow'
};
fetch("https://api.cloudcraft.co/team", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));