계정 및 팀: API v1의 모든 작업을 필요한 스코프, 매개변수, curl·JavaScript·Python 예시와 응답으로 설명합니다. 인증, 오류, 페이지 나누기, 속도 제한, 멱등성은 API 레퍼런스 개요를 참고하세요. SDK와 명령줄 도구도 확인해 보세요.
내 키로 시도해 보기: 콘솔에서 API 키를 만들고 터미널에서
export APIDLY_API_KEY=...를 실행한 다음 아래 curl 예시를 붙여 넣으세요. 예시 값은 설명용입니다. 이 페이지에는 키를 입력하는 곳이 없습니다.
작업과 필드 설명은 API 정의에서 가져오며 영어로 되어 있습니다.
| 작업 | 필요한 스코프 | 요약 |
|---|---|---|
GET /me |
read |
조직, 키, 지갑 |
GET /team/members |
read |
조직 구성원 |
GET /team/roles |
full |
기본 제공 역할과 사용자 지정 역할 및 해당 권한 |
POST /team/roles |
full |
사용자 지정 역할 만들기 |
GET /notification-preferences |
read |
알림 스위치 |
PUT /notification-preferences |
full |
알림 스위치 변경 |
GET /activity |
read |
조직의 활동 기록(최신순) |
GET /team/invitations |
full |
대기 중인 초대(최신순) |
POST /team/invitations |
full |
이메일로 사람 초대 |
DELETE /team/invitations/{id} |
full |
대기 중인 초대 취소 |
PATCH /team/members/{userId} |
full |
구성원의 역할 변경 |
DELETE /team/members/{userId} |
full |
조직에서 구성원 제거 |
PUT /team/members/{userId}/spending-limit |
full |
멤버의 월 지출 한도 설정 또는 해제 |
PATCH /team/roles/{id} |
full |
사용자 지정 역할의 이름, 설명, 권한 교체 |
DELETE /team/roles/{id} |
full |
사용자 지정 역할 삭제 |
POST /team/invitations/{id}/resend |
full |
초대 다시 보내기 |
GET /notifications |
read |
키가 대신 동작하는 구성원의 앱 내 알림 |
POST /notifications/read |
servers |
모든 앱 내 알림을 읽음으로 표시 |
PATCH /organization |
full |
조직 이름 변경 또는 청구 이메일이나 국가 변경 |
GET /organization/defaults |
read |
조직의 실행 기본값 |
PATCH /organization/defaults |
full |
실행 기본값 변경 |
GET /me/profile |
full |
키 소유 멤버의 프로필 |
PATCH /me/profile |
full |
표시 이름, 언어 또는 시간대 변경 |
GET /activity/export |
read |
활동 기록 CSV 파일 |
GET /openapi.json |
read |
이 문서 |
계정
GET /me
조직, 키, 지갑
A per-server token (apc_srv_..., from "Allow this server to stop itself") may call this too; it then gets { org, key: { kind: "server" }, server } without a balance.
필요한 스코프: read
요청 예시 (curl)
curl "https://apidly.com/api/v1/me" \
-H "Authorization: Bearer $APIDLY_API_KEY"Python (SDK)
client.me()명령줄 도구: apidly init, apidly status, apidly login, apidly whoami, apidly doctor (CLI 레퍼런스)
응답 예시 (200)
{
"org": {
"id": "example",
"name": "example",
"slug": "example",
"status": "example",
"requireTwoFactor": false,
"memberEmailsVisible": false
},
"key": {
"id": "example",
"name": "example",
"prefix": "example",
"scope": "read",
"expiresAt": "2026-11-21T10:00:00.000Z",
"createdAt": "2026-11-21T10:00:00.000Z",
"creatorRole": "owner",
"permissions": [
"example"
],
"permissionList": [
"example"
]
},
"balance": {
"balanceMicros": "1000000",
"balanceUsd": "1.000000",
"burnPerHourMicros": "1000000",
"burnPerHourUsd": "1.000000",
"runwayHours": 1,
"state": "ok",
"graceUntil": "2026-11-21T10:00:00.000Z",
"monthToDateMicros": "1000000",
"monthToDateUsd": "1.000000"
}
}오류 상태: 401, 403, 429.
GET /team/members
조직 구성원
필요한 스코프: read
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
limit |
query | integer | 아니요 | |
cursor |
query | string | 아니요 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/team/members?limit=20" \
-H "Authorization: Bearer $APIDLY_API_KEY"Python (SDK)
client.team.list_members()명령줄 도구: apidly team (CLI 레퍼런스)
응답 예시 (200)
{
"members": [
{
"userId": "id_example",
"name": "example",
"email": "dev@example.com",
"role": "owner",
"roleId": "id_example",
"roleName": "example",
"permissions": [
"example"
],
"joinedAt": "2026-11-21T10:00:00.000Z",
"spendingLimit": {
"monthlyLimitMicros": "1000000",
"monthlyLimitUsd": "1.000000",
"monthToDateMicros": "1000000",
"monthToDateUsd": "1.000000"
}
}
],
"nextCursor": "example"
}오류 상태: 401, 403, 429.
GET /team/roles
기본 제공 역할과 사용자 지정 역할 및 해당 권한
필요한 스코프: full · 권한: team.manage
요청 예시 (curl)
curl "https://apidly.com/api/v1/team/roles" \
-H "Authorization: Bearer $APIDLY_API_KEY"Python (SDK)
client.team.list_roles()명령줄 도구: apidly team (CLI 레퍼런스)
응답 예시 (200)
{
"roles": [
{
"id": "example",
"name": "example",
"description": "example",
"builtin": false,
"permissions": [
"example"
],
"memberCount": 1
}
]
}오류 상태: 401, 403, 429.
POST /team/roles
사용자 지정 역할 만들기
At most 10 per organization. The key's creator must be the owner, and cannot grant permissions they lack.
필요한 스코프: full · 권한: team.manage
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 예 | |
description |
string | 아니요 | |
permissions |
servers.view | servers.deploy | servers.manage | servers.destroy | servers.exec | templates.manage | endpoints.manage | endpoints.invoke | storage.manage | ssh_keys.manage | secrets.manage | api_keys.manage | webhooks.manage | automation.manage | billing.view | billing.topup | billing.manage | team.manage | settings.manage | activity.view의 배열 |
예 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/team/roles" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example","permissions":["servers.view"]}'Python (SDK)
client.team.create_role(name="example", permissions=["servers.view"])명령줄 도구: apidly team (CLI 레퍼런스)
응답 예시 (201)
{
"role": {
"id": "example",
"name": "example",
"description": "example",
"builtin": false,
"permissions": [
"example"
],
"memberCount": 1
}
}오류 상태: 400, 401, 403, 409, 429.
GET /notification-preferences
알림 스위치
Email and in-app switches and the running-server reminder belong to the member the key acts as; the webhook switch belongs to the organization.
필요한 스코프: read
요청 예시 (curl)
curl "https://apidly.com/api/v1/notification-preferences" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.notifications.get();Python (SDK)
client.notifications.get()명령줄 도구: apidly notifications (CLI 레퍼런스)
응답 예시 (200)
{
"categories": [
{
"id": "example",
"forcedMail": false,
"email": {
"value": false
},
"inApp": {
"value": false
},
"webhook": {
"value": false
},
"webhookEvents": [
"example"
]
}
],
"runningReminderHours": 1,
"weeklySummary": false,
"canEditWebhooks": false
}오류 상태: 401, 403, 429.
PUT /notification-preferences
알림 스위치 변경
org rows (webhook) need webhook management; categories you leave out are unchanged.
필요한 스코프: full
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
weeklySummary |
boolean | 아니요 | |
runningReminderHours |
integer 또는 null | 아니요 | |
user |
object | 아니요 | |
org |
object | 아니요 |
요청 예시 (curl)
curl -X PUT "https://apidly.com/api/v1/notification-preferences" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"weeklySummary":false,"runningReminderHours":1,"user":{}}'JavaScript (SDK)
await apidly.notifications.set({
weeklySummary: false,
runningReminderHours: 1,
user: {}
});Python (SDK)
client.notifications.set(body={
"weeklySummary": False,
"runningReminderHours": 1,
"user": {},
})명령줄 도구: apidly notifications (CLI 레퍼런스)
응답 예시 (200)
{
"categories": [
{
"id": "example",
"forcedMail": false,
"email": {
"value": false
},
"inApp": {
"value": false
},
"webhook": {
"value": false
},
"webhookEvents": [
"example"
]
}
],
"runningReminderHours": 1,
"weeklySummary": false,
"canEditWebhooks": false
}오류 상태: 400, 401, 403, 429.
GET /activity
조직의 활동 기록(최신순)
Addresses are masked to the /24 unless the key's creator is the owner.
필요한 스코프: read · 권한: activity.view
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
actor |
query | string | 아니요 | Exactly one actor id: a member user id or an API key id. |
category |
query | signIn | team | keys | servers | billing | settings |
아니요 | |
cursor |
query | string | 아니요 | |
from |
query | string | 아니요 | YYYY-MM-DD, UTC. |
to |
query | string | 아니요 | YYYY-MM-DD, UTC, inclusive. |
limit |
query | integer | 아니요 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/activity?limit=20" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.activity.list({ limit: 20 });Python (SDK)
client.activity.list()명령줄 도구: apidly activity (CLI 레퍼런스)
응답 예시 (200)
{
"activity": [
{
"id": "example",
"at": "2026-11-21T10:00:00.000Z",
"category": "signIn",
"action": "example",
"actor": {
"kind": "example",
"label": "example"
},
"ip": "example",
"params": {
"key": null
}
}
],
"nextCursor": "example"
}오류 상태: 401, 403, 429.
GET /team/invitations
대기 중인 초대(최신순)
필요한 스코프: full · 권한: team.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
limit |
query | integer | 아니요 | |
cursor |
query | string | 아니요 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/team/invitations?limit=20" \
-H "Authorization: Bearer $APIDLY_API_KEY"Python (SDK)
client.team.list_invitations()명령줄 도구: apidly team (CLI 레퍼런스)
응답 예시 (200)
{
"invitations": [
{
"id": "example",
"email": "dev@example.com",
"role": "owner",
"roleKey": "example",
"roleName": "example",
"customRoleId": "id_example",
"customRoleName": "example",
"invitedByName": "example",
"invitedByEmail": "dev@example.com",
"expiresAt": "2026-11-21T10:00:00.000Z",
"createdAt": "2026-11-21T10:00:00.000Z",
"expired": false,
"mailSent": false
}
],
"nextCursor": "example"
}오류 상태: 401, 403, 429.
POST /team/invitations
이메일로 사람 초대
role is admin, member (default) or a custom role id from GET /team/roles. The key's creator cannot grant permissions they lack (403 role_escalation). The invitation mail is sent and the link is valid for 7 days.
필요한 스코프: full · 권한: team.manage · 안전하게 재시도할 수 있는 헤더: Idempotency-Key
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
email |
string | 예 | |
role |
string | 아니요 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/team/invitations" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"email":"dev@example.com"}'Python (SDK)
client.team.invite(email="dev@example.com")명령줄 도구: apidly team (CLI 레퍼런스)
응답 예시 (201)
{
"invitation": {
"id": "example",
"email": "dev@example.com",
"role": "owner",
"roleKey": "example",
"roleName": "example",
"customRoleId": "id_example",
"customRoleName": "example",
"invitedByName": "example",
"invitedByEmail": "dev@example.com",
"expiresAt": "2026-11-21T10:00:00.000Z",
"createdAt": "2026-11-21T10:00:00.000Z",
"expired": false,
"mailSent": false
}
}오류 상태: 400, 401, 403, 409, 422, 429.
DELETE /team/invitations/{id}
대기 중인 초대 취소
필요한 스코프: full · 권한: team.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl -X DELETE "https://apidly.com/api/v1/team/invitations/team_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"Python (SDK)
client.team.revoke_invitation("team_example")명령줄 도구: apidly team (CLI 레퍼런스)
응답 예시 (200)
{
"deleted": false,
"id": "example"
}오류 상태: 401, 403, 404, 429.
PATCH /team/members/{userId}
구성원의 역할 변경
Same rules as the console: no escalation beyond the key creator's own permissions (403 role_escalation), the last owner keeps the role (403 last_owner).
필요한 스코프: full · 권한: team.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
userId |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
role |
string | 예 |
요청 예시 (curl)
curl -X PATCH "https://apidly.com/api/v1/team/members/team_example" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"role":"example"}'Python (SDK)
client.team.update_member("team_example", role="example")명령줄 도구: apidly team (CLI 레퍼런스)
응답 예시 (200)
{
"userId": "id_example",
"role": "owner",
"roleKey": "example",
"roleName": "example"
}오류 상태: 400, 401, 403, 404, 429.
DELETE /team/members/{userId}
조직에서 구성원 제거
A key cannot remove the member who created it (403 forbidden); leave from the console.
필요한 스코프: full · 권한: team.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
userId |
path | string | 예 |
요청 예시 (curl)
curl -X DELETE "https://apidly.com/api/v1/team/members/team_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"Python (SDK)
client.team.remove_member("team_example")명령줄 도구: apidly team (CLI 레퍼런스)
응답 예시 (200)
{
"deleted": false,
"userId": "id_example"
}오류 상태: 401, 403, 404, 429.
PUT /team/members/{userId}/spending-limit
멤버의 월 지출 한도 설정 또는 해제
monthlyLimitCents in US cents; null removes the limit. A member's month-to-date usage is the usage this UTC month of the servers they launched, from the console or with any key. At the limit, their new launches (servers, copies, launch again) and the starts of their stopped servers answer 403 member_limit_reached until the limit is raised or the month ends; servers already running are not stopped, and workers that a serverless endpoint or server group starts by itself are not refused. Needs team.manage and billing.manage. Only an owner may change their own limit (403 forbidden). 404 not_found for someone who is not a member; 404 feature_unavailable while spending limits are not available.
필요한 스코프: full · 권한: team.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
userId |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
monthlyLimitCents |
integer 또는 null | 예 |
요청 예시 (curl)
curl -X PUT "https://apidly.com/api/v1/team/members/team_example/spending-limit" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"monthlyLimitCents":1}'Python (SDK)
client.team.set_member_spending_limit("team_example", monthly_limit_cents=1)명령줄 도구: apidly team (CLI 레퍼런스)
응답 예시 (200)
{
"userId": "id_example",
"spendingLimit": {
"monthlyLimitMicros": "1000000",
"monthlyLimitUsd": "1.000000",
"monthToDateMicros": "1000000",
"monthToDateUsd": "1.000000"
}
}오류 상태: 400, 401, 403, 404, 429.
PATCH /team/roles/{id}
사용자 지정 역할의 이름, 설명, 권한 교체
Every member who holds the role follows the new permissions on their next request. Owner only.
필요한 스코프: full · 권한: team.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 예 | |
description |
string | 아니요 | |
permissions |
servers.view | servers.deploy | servers.manage | servers.destroy | servers.exec | templates.manage | endpoints.manage | endpoints.invoke | storage.manage | ssh_keys.manage | secrets.manage | api_keys.manage | webhooks.manage | automation.manage | billing.view | billing.topup | billing.manage | team.manage | settings.manage | activity.view의 배열 |
예 |
요청 예시 (curl)
curl -X PATCH "https://apidly.com/api/v1/team/roles/team_example" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example","permissions":["servers.view"]}'Python (SDK)
client.team.update_role("team_example", name="example", permissions=["servers.view"])명령줄 도구: apidly team (CLI 레퍼런스)
응답 예시 (200)
{
"role": {
"id": "example",
"name": "example",
"description": "example",
"builtin": false,
"permissions": [
"example"
],
"memberCount": 1
}
}오류 상태: 400, 401, 403, 404, 429.
DELETE /team/roles/{id}
사용자 지정 역할 삭제
409 role_in_use while members or invitations hold it. Owner only.
필요한 스코프: full · 권한: team.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl -X DELETE "https://apidly.com/api/v1/team/roles/team_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"Python (SDK)
client.team.delete_role("team_example")명령줄 도구: apidly team (CLI 레퍼런스)
응답 예시 (200)
{
"ok": false
}오류 상태: 401, 403, 404, 409, 429.
POST /team/invitations/{id}/resend
초대 다시 보내기
A fresh link valid for 7 days; the old link stops working.
필요한 스코프: full · 권한: team.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/team/invitations/team_example/resend" \
-H "Authorization: Bearer $APIDLY_API_KEY"Python (SDK)
client.team.resend_invitation("team_example")명령줄 도구: apidly team (CLI 레퍼런스)
응답 예시 (200)
{
"id": "example",
"expiresAt": "2026-11-21T10:00:00.000Z",
"mailSent": false
}오류 상태: 401, 403, 404, 429.
GET /notifications
키가 대신 동작하는 구성원의 앱 내 알림
Newest first, with the unread count.
필요한 스코프: read
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
limit |
query | integer | 아니요 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/notifications?limit=20" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.notifications.inbox({ limit: 20 });Python (SDK)
client.notifications.inbox()명령줄 도구: apidly notifications (CLI 레퍼런스)
응답 예시 (200)
{
"items": [
{
"id": "example",
"category": "example",
"title": "example",
"path": "example",
"readAt": "2026-11-21T10:00:00.000Z",
"createdAt": "2026-11-21T10:00:00.000Z"
}
],
"unread": 1
}오류 상태: 400, 401, 403, 429.
POST /notifications/read
모든 앱 내 알림을 읽음으로 표시
필요한 스코프: servers
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/notifications/read" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.notifications.markRead();Python (SDK)
client.notifications.mark_read()명령줄 도구: apidly notifications (CLI 레퍼런스)
응답 예시 (200)
{
"ok": false
}오류 상태: 401, 403, 429.
PATCH /organization
조직 이름 변경 또는 청구 이메일이나 국가 변경
Send only the fields to change. country is a two-letter code; billingEmail and country take null to clear.
필요한 스코프: full · 권한: settings.manage
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 아니요 | |
billingEmail |
string 또는 null | 아니요 | |
country |
string 또는 null | 아니요 |
요청 예시 (curl)
curl -X PATCH "https://apidly.com/api/v1/organization" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example","billingEmail":"dev@example.com","country":"example"}'JavaScript (SDK)
await apidly.organization.update({
name: "example",
billingEmail: "dev@example.com",
country: "example"
});Python (SDK)
client.organization.update()명령줄 도구: apidly org (CLI 레퍼런스)
응답 예시 (200)
{
"organization": {
"id": "example",
"name": "example",
"billingEmail": "dev@example.com",
"country": "example"
}
}오류 상태: 400, 401, 403, 429.
GET /organization/defaults
조직의 실행 기본값
What every launch starts with when the request leaves it out: sshKeyIds (installed by POST /servers without sshKeyIds, preselected in the console), autoStopHours (when 1 or more, added by POST /servers without automation, and prefilled in the console; 0 and null add no automatic stop to an API launch. The 2-hour stop on an account's first server is a console form default only: while this is null, Quick start and the deploy wizard switch it on in the form and set it on the new server after the launch; POST /servers itself never adds it) and region (a soft preference: Quick start and GET /quickstart suggest a plan offered there when one fits; it never limits where a server runs). Any key may read them.
필요한 스코프: read
요청 예시 (curl)
curl "https://apidly.com/api/v1/organization/defaults" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.organization.defaults();Python (SDK)
client.organization.defaults()명령줄 도구: apidly org (CLI 레퍼런스)
응답 예시 (200)
{
"defaults": {
"sshKeyIds": [
"example"
],
"autoStopHours": 1,
"region": "na"
}
}오류 상태: 401, 403, 429.
PATCH /organization/defaults
실행 기본값 변경
Send only the fields to change; null resets one to not chosen. 400 invalid_ssh_key for a key that is not in this organization.
필요한 스코프: full · 권한: settings.manage
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
sshKeyIds |
string의 배열 또는 null | 아니요 | SSH keys preselected on every launch (ids from GET /ssh-keys), used by POST /servers when the request has no sshKeyIds. [] = none; null = not chosen. |
autoStopHours |
integer 또는 null | 아니요 | Automatic stop for new servers after this many hours of running (1 to 720), applied when a launch sends no automation. 0 = no automatic stop; null = not chosen: an API launch then gets no automatic stop (the console's Quick start and deploy wizard still switch on a 2-hour stop in the form for an account's first server and set it after the launch). |
region |
na | eu | ap | other 또는 null |
아니요 | Preferred region (na, eu, ap, other). Soft: only orders plan suggestions, never limits where a server runs. null = no preference. |
요청 예시 (curl)
curl -X PATCH "https://apidly.com/api/v1/organization/defaults" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sshKeyIds":["example"],"autoStopHours":0,"region":"na"}'JavaScript (SDK)
await apidly.organization.setDefaults({
sshKeyIds: [
"example"
],
autoStopHours: 0,
region: "na"
});Python (SDK)
client.organization.set_defaults()명령줄 도구: apidly org (CLI 레퍼런스)
응답 예시 (200)
{
"defaults": {
"sshKeyIds": [
"example"
],
"autoStopHours": 1,
"region": "na"
}
}오류 상태: 400, 401, 403, 429.
GET /me/profile
키 소유 멤버의 프로필
Display name, language and time zone of the member who created the key. The e-mail address, password, two-factor and passkeys are never readable or changeable with an API key: change them in the console, signed in. Notification switches: GET /notification-preferences.
필요한 스코프: full
요청 예시 (curl)
curl "https://apidly.com/api/v1/me/profile" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.profile.get();Python (SDK)
client.profile.get()명령줄 도구: apidly profile (CLI 레퍼런스)
응답 예시 (200)
{
"profile": {
"name": "example",
"locale": "example",
"timeZone": "example"
}
}오류 상태: 401, 403, 429.
PATCH /me/profile
표시 이름, 언어 또는 시간대 변경
Send only the fields to change. locale is one of the site's languages; timeZone an IANA name such as Europe/Berlin (null = UTC). Nothing else of the account can change through an API key.
필요한 스코프: full
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 아니요 | Display name, 1 to 80 characters. |
locale |
en | nl | it | es | id | fr | pt-BR | ru | uk | nb | ro | fi | sv | da | cs | hu | tr | ar | vi | th | ko | ja | pl | el | de |
아니요 | Language of mail sent without a request (for example de, pt-BR). |
timeZone |
string 또는 null | 아니요 | IANA time zone (for example Europe/Berlin) for dates in mail; null = UTC. The console shows times in the browser's zone. |
요청 예시 (curl)
curl -X PATCH "https://apidly.com/api/v1/me/profile" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example","locale":"en","timeZone":"example"}'JavaScript (SDK)
await apidly.profile.update({
name: "example",
locale: "en",
timeZone: "example"
});Python (SDK)
client.profile.update()명령줄 도구: apidly profile (CLI 레퍼런스)
응답 예시 (200)
{
"profile": {
"name": "example",
"locale": "example",
"timeZone": "example"
}
}오류 상태: 400, 401, 403, 429.
GET /activity/export
활동 기록 CSV 파일
Returns text/csv with the same filters as GET /activity (limit is ignored), at most 5,000 rows. Ten exports an hour per key and twenty an hour per organization, across all its keys.
필요한 스코프: read · 권한: activity.view
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
actor |
query | string | 아니요 | |
category |
query | signIn | team | keys | servers | billing | settings |
아니요 | |
from |
query | string | 아니요 | |
to |
query | string | 아니요 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/activity/export" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.activity.export();Python (SDK)
client.activity.export()명령줄 도구: apidly export (CLI 레퍼런스)
응답 예시 (200)
text/csv
오류 상태: 400, 401, 403, 429.
API 설명
GET /openapi.json
이 문서
Public: no API key needed.
필요한 스코프: read
요청 예시 (curl)
curl "https://apidly.com/api/v1/openapi.json" \
-H "Authorization: Bearer $APIDLY_API_KEY"Python (SDK)
client.openapi()명령줄 도구: apidly openapi (CLI 레퍼런스)
응답 예시 (200)
{
"key": null
}오류 상태: 401, 403, 429.
써볼 준비가 되셨나요?
무료 계정을 만들고, 서버를 시작하고 싶을 때 크레딧을 충전하세요. 최소 충전 금액은 $10입니다.
도움이 되었나요?