스토어프론트 호스팅
스토어프론트 호스팅 끄기
사이트를 닫고(`CLOSED`) 주소를 30일 보류한다. 확인 입력은 현재 슬러그다. 다시 만들 수 있다
POST
사이트를 닫고(CLOSED) 주소를 30일 보류한다. 확인 입력은 현재 슬러그다. 다시 만들 수 있다
accessTokenheader
AuthorizationBearer <token>Sayren 계정 토큰(로그인 토큰 또는 개인 액세스 토큰, RFC 9068 JWT)
X-Store-Id*string대상 상점 id. 토큰의 상점 범위 밖이면 403 STORE_NOT_GRANTED, 없으면 400 STORE_ID_REQUIRED다
application/json- body
confirmSlug*string확인 입력 — 현재 슬러그
Length
1 <= length성공
application/json- response
meta*data*error*|nullcurl -X POST 'https://api.sayren.io/v1/storefront/site/disable' \ -H 'X-Store-Id: string' \ -H 'Content-Type: application/json' \ -d '{ "confirmSlug": "string"}'{ "meta": { "status": 200, "code": "OK", "message": "OK", "isSuccess": true }, "data": { "siteId": "string", "slug": "string", "hostname": "string", "url": "string", "domains": [ { "hostname": "string", "kind": "PLATFORM", "status": "ACTIVE", "isPrimary": true, "holdUntil": "string" } ], "templateId": "string", "sourceMode": "MANAGED", "status": "ACTIVE", "visibility": "COMING_SOON", "publishedVersion": { "versionId": "string", "number": 1, "templateId": "string", "templateVersion": "string", "status": "BUILDING", "published": true, "publishedAt": "string", "message": "string", "source": "TEMPLATE", "buildId": "string", "createdByType": "string", "createdVia": "string", "createdAt": "string", "previewable": true }, "provisioning": { "status": "SYNCED", "lastErrorCode": "string", "syncedAt": "string" }, "editPreview": { "hostname": "string" }, "slugChangesRemaining": 0, "suspension": { "reason": "string", "suspendedAt": "string" }, "snapshot": { "url": "string", "versionId": "string", "capturedAt": "string" }, "createdAt": "string", "updatedAt": "string" }, "error": null}