템플릿: API v1의 모든 작업을 필요한 스코프, 매개변수, curl·JavaScript·Python 예시와 응답으로 설명합니다. 인증, 오류, 페이지 나누기, 속도 제한, 멱등성은 API 레퍼런스 개요를 참고하세요. SDK와 명령줄 도구도 확인해 보세요.
내 키로 시도해 보기: 콘솔에서 API 키를 만들고 터미널에서
export APIDLY_API_KEY=...를 실행한 다음 아래 curl 예시를 붙여 넣으세요. 예시 값은 설명용입니다. 이 페이지에는 키를 입력하는 곳이 없습니다.
작업과 필드 설명은 API 정의에서 가져오며 영어로 되어 있습니다.
| 작업 | 필요한 스코프 | 요약 |
|---|---|---|
GET /templates |
read |
공개 템플릿과 조직의 템플릿 |
POST /templates |
full |
조직 템플릿 만들기 |
GET /templates/{id} |
read |
템플릿 하나 |
PATCH /templates/{id} |
full |
조직의 템플릿 업데이트 |
DELETE /templates/{id} |
full |
템플릿 삭제, 서버가 아직 참조 중이면 숨김 |
POST /templates/{id}/share |
full |
조직 템플릿의 공유 링크 만들기 |
DELETE /templates/{id}/share |
full |
템플릿의 공유 링크 해지 |
GET /templates/{id}/share |
full |
템플릿의 공유 링크 |
POST /templates/{id}/duplicate |
full |
조직의 템플릿 복사 |
GET /templates/{id}/revisions |
read |
템플릿의 리비전 이력(최신순) |
POST /templates/{id}/revisions/{rev}/restore |
full |
이전 리비전을 새 리비전으로 복원 |
GET /templates/{id}/export |
full |
템플릿을 이동 가능한 파일로 내보내기 |
POST /templates/import |
full |
내보낸 파일로 템플릿 생성 |
POST /template-shares/{token}/import |
full |
공유된 템플릿을 조직으로 복사 |
POST /template-shares/{token}/report |
servers |
공유 템플릿을 담당 직원에게 신고 (조직당 시간당 최대 10건) |
GET /templates
공개 템플릿과 조직의 템플릿
Optional filters: q (up to 60 characters, case-insensitive, found in the name, slug, summary, image or category), category, source (builtin for the public catalogue, own for your organization's templates) and vramGb (only templates whose minVramGb is at most this, so they run on a GPU with that much memory). Repeat the same filters on every page so the cursor stays valid.
필요한 스코프: read
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
limit |
query | integer | 아니요 | |
cursor |
query | string | 아니요 | |
q |
query | string | 아니요 | |
category |
query | base | llm | image | notebook | training | custom |
아니요 | |
source |
query | builtin | own |
아니요 | |
vramGb |
query | integer | 아니요 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/templates?limit=20" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.templates.list({ limit: 20 });Python (SDK)
client.templates.list()명령줄 도구: apidly templates, apidly export, apidly plan, apidly apply (CLI 레퍼런스)
응답 예시 (200)
{
"templates": [
{
"id": "example",
"slug": "example",
"name": "example",
"summary": "example",
"category": "example",
"image": "docker.io/library/ubuntu",
"tag": "example",
"launchMode": "ssh",
"env": {
"key": "example"
},
"ports": [
{
"port": null,
"protocol": null,
"label": null
}
],
"startScript": "example",
"onStart": "example",
"args": "example",
"description": "example",
"secretEnvKeys": [
"example"
],
"registryId": "id_example",
"appPort": 1,
"defaultDiskGb": 1,
"minVramGb": 1,
"recommendedVramGb": 1,
"constraints": {
"key": null
},
"latestCudaTag": false,
"inference": {
"api": "http",
"healthPath": "example",
"port": 1
},
"custom": false,
"firstBootMinutes": 1,
"revision": 1,
"sort": 1,
"createdAt": "2026-11-21T10:00:00.000Z"
}
],
"nextCursor": "example"
}오류 상태: 401, 403, 429.
POST /templates
조직 템플릿 만들기
필요한 스코프: full · 생성자 역할: admin · 안전하게 재시도할 수 있는 헤더: Idempotency-Key
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 예 | |
summary |
string | 아니요 | |
description |
string | 아니요 | |
image |
string | 예 | |
tag |
string | 아니요 | |
launchMode |
ssh | jupyter | app |
예 | |
env |
object | 아니요 | |
secretEnv |
object | 아니요 | |
ports |
object의 배열 | 아니요 | |
startScript |
string | 아니요 | Shell script run on the server after each start (up to 64 KB). Replaces the deprecated onStart. |
onStart |
string | 아니요 | Deprecated name of startScript, read until 2027-05-31. Send startScript. |
args |
string | 아니요 | |
appPort |
integer 또는 null | 아니요 | |
defaultDiskGb |
integer | 아니요 | |
minVramGb |
integer | 아니요 | |
constraints |
object | 아니요 | |
recommendedVramGb |
integer 또는 null | 아니요 | |
inference |
object 또는 null | 아니요 | |
registryId |
string 또는 null | 아니요 | |
latestCudaTag |
boolean | 아니요 | |
inheritSecretsFrom |
string | 아니요 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/templates" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"name":"example","image":"docker.io/library/ubuntu","launchMode":"ssh"}'JavaScript (SDK)
await apidly.templates.create({
name: "example",
image: "docker.io/library/ubuntu",
launchMode: "ssh"
});Python (SDK)
client.templates.create(body={
"name": "example",
"image": "docker.io/library/ubuntu",
"launchMode": "ssh",
})명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (201)
{
"template": {
"id": "example",
"slug": "example",
"name": "example",
"summary": "example",
"category": "example",
"image": "docker.io/library/ubuntu",
"tag": "example",
"launchMode": "ssh",
"env": {
"key": "example"
},
"ports": [
{
"port": 1,
"protocol": "tcp",
"label": "example"
}
],
"startScript": "example",
"onStart": "example",
"args": "example",
"description": "example",
"secretEnvKeys": [
"example"
],
"registryId": "id_example",
"appPort": 1,
"defaultDiskGb": 1,
"minVramGb": 1,
"recommendedVramGb": 1,
"constraints": {
"key": null
},
"latestCudaTag": false,
"inference": {
"api": "http",
"healthPath": "example",
"port": 1
},
"custom": false,
"firstBootMinutes": 1,
"revision": 1,
"sort": 1,
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 409, 429.
GET /templates/{id}
템플릿 하나
id is a template id or the slug the catalogue lists (pytorch). Built-in templates are shown read-only (custom: false).
필요한 스코프: read
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/templates/tpl_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.templates.get("tpl_example");Python (SDK)
client.templates.get("tpl_example")명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (200)
{
"template": {
"id": "example",
"slug": "example",
"name": "example",
"summary": "example",
"category": "example",
"image": "docker.io/library/ubuntu",
"tag": "example",
"launchMode": "ssh",
"env": {
"key": "example"
},
"ports": [
{
"port": 1,
"protocol": "tcp",
"label": "example"
}
],
"startScript": "example",
"onStart": "example",
"args": "example",
"description": "example",
"secretEnvKeys": [
"example"
],
"registryId": "id_example",
"appPort": 1,
"defaultDiskGb": 1,
"minVramGb": 1,
"recommendedVramGb": 1,
"constraints": {
"key": null
},
"latestCudaTag": false,
"inference": {
"api": "http",
"healthPath": "example",
"port": 1
},
"custom": false,
"firstBootMinutes": 1,
"revision": 1,
"sort": 1,
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 401, 403, 404, 429.
PATCH /templates/{id}
조직의 템플릿 업데이트
필요한 스코프: full · 생성자 역할: admin
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 아니요 | |
summary |
string | 아니요 | |
description |
string | 아니요 | |
image |
string | 아니요 | |
tag |
string | 아니요 | |
launchMode |
ssh | jupyter | app |
아니요 | |
env |
object | 아니요 | |
secretEnv |
object | 아니요 | |
ports |
object의 배열 | 아니요 | |
startScript |
string | 아니요 | Shell script run on the server after each start (up to 64 KB). Replaces the deprecated onStart. |
onStart |
string | 아니요 | Deprecated name of startScript, read until 2027-05-31. Send startScript. |
args |
string | 아니요 | |
appPort |
integer 또는 null | 아니요 | |
defaultDiskGb |
integer | 아니요 | |
minVramGb |
integer | 아니요 | |
constraints |
object | 아니요 | |
recommendedVramGb |
integer 또는 null | 아니요 | |
inference |
object 또는 null | 아니요 | |
registryId |
string 또는 null | 아니요 | |
latestCudaTag |
boolean | 아니요 |
요청 예시 (curl)
curl -X PATCH "https://apidly.com/api/v1/templates/tpl_example" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example","summary":"example","description":"example"}'JavaScript (SDK)
await apidly.templates.update("tpl_example", {
name: "example",
summary: "example",
description: "example"
});Python (SDK)
client.templates.update("tpl_example", body={
"name": "example",
"summary": "example",
"description": "example",
})명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (200)
{
"template": {
"id": "example",
"slug": "example",
"name": "example",
"summary": "example",
"category": "example",
"image": "docker.io/library/ubuntu",
"tag": "example",
"launchMode": "ssh",
"env": {
"key": "example"
},
"ports": [
{
"port": 1,
"protocol": "tcp",
"label": "example"
}
],
"startScript": "example",
"onStart": "example",
"args": "example",
"description": "example",
"secretEnvKeys": [
"example"
],
"registryId": "id_example",
"appPort": 1,
"defaultDiskGb": 1,
"minVramGb": 1,
"recommendedVramGb": 1,
"constraints": {
"key": null
},
"latestCudaTag": false,
"inference": {
"api": "http",
"healthPath": "example",
"port": 1
},
"custom": false,
"firstBootMinutes": 1,
"revision": 1,
"sort": 1,
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 404, 429.
DELETE /templates/{id}
템플릿 삭제, 서버가 아직 참조 중이면 숨김
필요한 스코프: full · 생성자 역할: admin
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl -X DELETE "https://apidly.com/api/v1/templates/tpl_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.templates.delete("tpl_example");Python (SDK)
client.templates.delete("tpl_example")명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (200)
{
"deleted": false,
"hidden": false
}오류 상태: 401, 403, 404, 429.
POST /templates/{id}/share
조직 템플릿의 공유 링크 만들기
Anyone with the link sees the template's name, description, image, ports, minimum GPU memory and the NAMES of its plain environment variables, and can copy it into their own organization. Secret values, registry logins and (unless includeStartScript is true) the start script are never shared.
필요한 스코프: full · 권한: templates.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
displayName |
string 또는 null | 아니요 | |
includeStartScript |
boolean | 아니요 | |
expiresInDays |
integer 또는 null | 아니요 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/templates/tpl_example/share" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"displayName":"example","includeStartScript":false,"expiresInDays":null}'JavaScript (SDK)
await apidly.templates.share("tpl_example");Python (SDK)
client.templates.share("tpl_example")명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (201)
{
"share": {
"id": "example",
"templateId": "id_example",
"token": "example",
"displayName": "example",
"includeStartScript": false,
"expiresAt": "2026-11-21T10:00:00.000Z",
"status": "active",
"viewCount": 1,
"importCount": 1,
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 404, 409, 429.
DELETE /templates/{id}/share
템플릿의 공유 링크 해지
Revokes one link with ?shareId=, or every active link of the template when omitted.
필요한 스코프: full · 권한: templates.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl -X DELETE "https://apidly.com/api/v1/templates/tpl_example/share" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.templates.unshare("tpl_example");Python (SDK)
client.templates.unshare("tpl_example")명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (200)
{
"revoked": 1
}오류 상태: 401, 403, 404, 429.
GET /templates/{id}/share
템플릿의 공유 링크
필요한 스코프: full · 권한: templates.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/templates/tpl_example/share" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.templates.listShares("tpl_example");Python (SDK)
client.templates.list_shares("tpl_example")명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (200)
{
"shares": [
{
"id": "example",
"templateId": "id_example",
"token": "example",
"displayName": "example",
"includeStartScript": false,
"expiresAt": "2026-11-21T10:00:00.000Z",
"status": "active",
"viewCount": 1,
"importCount": 1,
"createdAt": "2026-11-21T10:00:00.000Z"
}
]
}오류 상태: 401, 403, 404, 429.
POST /templates/{id}/duplicate
조직의 템플릿 복사
필요한 스코프: full · 권한: templates.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/templates/tpl_example/duplicate" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.templates.duplicate("tpl_example");Python (SDK)
client.templates.duplicate("tpl_example")명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (201)
{
"template": {
"id": "example",
"slug": "example",
"name": "example",
"summary": "example",
"category": "example",
"image": "docker.io/library/ubuntu",
"tag": "example",
"launchMode": "ssh",
"env": {
"key": "example"
},
"ports": [
{
"port": 1,
"protocol": "tcp",
"label": "example"
}
],
"startScript": "example",
"onStart": "example",
"args": "example",
"description": "example",
"secretEnvKeys": [
"example"
],
"registryId": "id_example",
"appPort": 1,
"defaultDiskGb": 1,
"minVramGb": 1,
"recommendedVramGb": 1,
"constraints": {
"key": null
},
"latestCudaTag": false,
"inference": {
"api": "http",
"healthPath": "example",
"port": 1
},
"custom": false,
"firstBootMinutes": 1,
"revision": 1,
"sort": 1,
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 401, 403, 404, 409, 429.
GET /templates/{id}/revisions
템플릿의 리비전 이력(최신순)
Secret values are never included.
필요한 스코프: read
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/templates/tpl_example/revisions" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.templates.listRevisions("tpl_example");Python (SDK)
client.templates.list_revisions("tpl_example")명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (200)
{
"revisions": [
{
"rev": 1,
"kind": "example",
"restoredFrom": 1,
"createdAt": "2026-11-21T10:00:00.000Z",
"createdByName": "example",
"current": false,
"servers": 1,
"snapshot": {
"key": null
}
}
]
}오류 상태: 401, 403, 404, 429.
POST /templates/{id}/revisions/{rev}/restore
이전 리비전을 새 리비전으로 복원
History is never rewritten: the restored copy becomes the newest revision.
필요한 스코프: full · 권한: templates.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 | |
rev |
path | string | 예 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/templates/tpl_example/revisions/1/restore" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.templates.restoreRevision("tpl_example", "1");Python (SDK)
client.templates.restore_revision("tpl_example", "1")명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (200)
{
"template": {
"id": "example",
"slug": "example",
"name": "example",
"summary": "example",
"category": "example",
"image": "docker.io/library/ubuntu",
"tag": "example",
"launchMode": "ssh",
"env": {
"key": "example"
},
"ports": [
{
"port": 1,
"protocol": "tcp",
"label": "example"
}
],
"startScript": "example",
"onStart": "example",
"args": "example",
"description": "example",
"secretEnvKeys": [
"example"
],
"registryId": "id_example",
"appPort": 1,
"defaultDiskGb": 1,
"minVramGb": 1,
"recommendedVramGb": 1,
"constraints": {
"key": null
},
"latestCudaTag": false,
"inference": {
"api": "http",
"healthPath": "example",
"port": 1
},
"custom": false,
"firstBootMinutes": 1,
"revision": 1,
"sort": 1,
"createdAt": "2026-11-21T10:00:00.000Z"
},
"revision": 1
}오류 상태: 401, 403, 404, 429.
GET /templates/{id}/export
템플릿을 이동 가능한 파일로 내보내기
The file the console downloads. Secret variables appear as names in secretEnvNames, never with values; the registry login is never included. Send its text to POST /templates/import to copy it into an organization. Only your organization's own templates can be exported: a built-in template answers 409 invalid_state (read it with GET /templates/{id}).
필요한 스코프: full · 권한: templates.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/templates/tpl_example/export" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.templates.export("tpl_example");Python (SDK)
client.templates.export("tpl_example")명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (200)
{
"format": "apidly-template",
"version": 1,
"template": {
"name": "example",
"summary": "example",
"description": "example",
"image": "docker.io/library/ubuntu",
"tag": "example",
"launchMode": "ssh",
"env": {
"key": "example"
},
"secretEnvNames": [
"example"
],
"ports": [
{
"port": 1,
"protocol": "tcp",
"label": "example"
}
],
"appPort": 1,
"inference": {
"key": null
},
"startScript": "example",
"onStart": "example",
"args": "example",
"defaultDiskGb": 1,
"minVramGb": 1
}
}오류 상태: 401, 403, 404, 409, 429.
POST /templates/import
내보낸 파일로 템플릿 생성
json is the text of a file from GET /templates/{id}/export (or the console's Export). Secret variables arrive blank and the registry unset. 400 invalid_file when it is not such a file.
필요한 스코프: full · 권한: templates.manage · 안전하게 재시도할 수 있는 헤더: Idempotency-Key
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
json |
string | 예 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/templates/import" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"json":"example"}'JavaScript (SDK)
await apidly.templates.import("example");Python (SDK)
client.templates.import_file(file="example")명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (201)
{
"template": {
"id": "example",
"slug": "example",
"name": "example",
"summary": "example",
"category": "example",
"image": "docker.io/library/ubuntu",
"tag": "example",
"launchMode": "ssh",
"env": {
"key": "example"
},
"ports": [
{
"port": 1,
"protocol": "tcp",
"label": "example"
}
],
"startScript": "example",
"onStart": "example",
"args": "example",
"description": "example",
"secretEnvKeys": [
"example"
],
"registryId": "id_example",
"appPort": 1,
"defaultDiskGb": 1,
"minVramGb": 1,
"recommendedVramGb": 1,
"constraints": {
"key": null
},
"latestCudaTag": false,
"inference": {
"api": "http",
"healthPath": "example",
"port": 1
},
"custom": false,
"firstBootMinutes": 1,
"revision": 1,
"sort": 1,
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 409, 429.
POST /template-shares/{token}/import
공유된 템플릿을 조직으로 복사
token is the 32-character token of a share link (/t/{token}). 404 when the link is revoked, expired or unknown.
필요한 스코프: full · 권한: templates.manage · 안전하게 재시도할 수 있는 헤더: Idempotency-Key
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
token |
path | string | 예 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/template-shares/templateshare_example/import" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"JavaScript (SDK)
await apidly.templates.importShared("templateshare_example");Python (SDK)
client.templates.import_shared("templateshare_example")명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (201)
{
"template": {
"id": "example",
"slug": "example",
"name": "example",
"summary": "example",
"category": "example",
"image": "docker.io/library/ubuntu",
"tag": "example",
"launchMode": "ssh",
"env": {
"key": "example"
},
"ports": [
{
"port": 1,
"protocol": "tcp",
"label": "example"
}
],
"startScript": "example",
"onStart": "example",
"args": "example",
"description": "example",
"secretEnvKeys": [
"example"
],
"registryId": "id_example",
"appPort": 1,
"defaultDiskGb": 1,
"minVramGb": 1,
"recommendedVramGb": 1,
"constraints": {
"key": null
},
"latestCudaTag": false,
"inference": {
"api": "http",
"healthPath": "example",
"port": 1
},
"custom": false,
"firstBootMinutes": 1,
"revision": 1,
"sort": 1,
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 401, 403, 404, 409, 429.
POST /template-shares/{token}/report
공유 템플릿을 담당 직원에게 신고 (조직당 시간당 최대 10건)
Opens a support ticket for staff with the reason (malware, illegal, secrets, other) and your details. Five reports an hour per key and ten an hour per organization, across all its keys.
필요한 스코프: servers · 안전하게 재시도할 수 있는 헤더: Idempotency-Key
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
token |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
details |
string | 아니요 | |
reason |
malware | illegal | secrets | other |
예 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/template-shares/templateshare_example/report" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"reason":"malware"}'JavaScript (SDK)
await apidly.templates.reportShared("templateshare_example", {
reason: "malware"
});Python (SDK)
client.templates.report_shared("templateshare_example", reason="malware")명령줄 도구: apidly templates (CLI 레퍼런스)
응답 예시 (201)
{
"ticketId": "id_example"
}오류 상태: 400, 401, 403, 404, 429.
써볼 준비가 되셨나요?
무료 계정을 만들고, 서버를 시작하고 싶을 때 크레딧을 충전하세요. 최소 충전 금액은 $10입니다.
도움이 되었나요?