الانتقال إلى المحتوى الرئيسي
PATCH
/
v1
/
public
/
accounts
/
{account_id}
/
domains
/
{domain}
تحديث نطاق
curl --request PATCH \
  --url https://api.hybridbox.io/v1/public/accounts/{account_id}/domains/{domain} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "auto_renew": true,
  "redirect_url": "<string>",
  "workspace_id": "<string>"
}
'
{
  "auto_renew": true,
  "id": "<string>",
  "workspace_id": "<string>",
  "redirect_url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt

Use this file to discover all available pages before exploring further.

التفويضات

Authorization
string
header
مطلوب

Public API bearer credential sent as Authorization: Bearer <token>. Use either an OAuth access token or a Hybridbox Service account token.

معلمات المسار

account_id
string<uuid>
مطلوب
domain
string
مطلوب

الجسم

application/json

مخطط تحديث إعدادات نطاق موجهة للعميل.

auto_renew
boolean | null
redirect_mode
enum<string> | null

وضع إعادة التوجيه المستخدم عند إنشاء إعادة توجيه أو تحديثها

الخيارات المتاحة:
301,
302,
iframe
redirect_url
string | null

عنوان URL لإعادة توجيه HTTPS، أو null للمسح

workspace_id
string<uuid4> | null

الاستجابة

auto_renew
boolean
مطلوب
id
string<uuid4>
مطلوب
workspace_id
string<uuid4>
مطلوب
redirect_mode
enum<string> | null
الخيارات المتاحة:
301,
302,
iframe
redirect_url
string | null