الانتقال إلى المحتوى الرئيسي
PATCH
/
v1
/
public
/
accounts
/
{account_id}
/
workspaces
/
{workspace_id}
تحديث مساحة عمل
curl --request PATCH \
  --url https://api.hybridbox.io/v1/public/accounts/{account_id}/workspaces/{workspace_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "status": "active",
  "updated_at": "2023-11-07T05:31:56Z"
}

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>
مطلوب
workspace_id
string<uuid>
مطلوب

الجسم

application/json

مخطط طلب إنشاء مساحة عمل أو تحديثها.

name
string
مطلوب

اسم عرض مساحة العمل

Required string length: 1 - 255

الاستجابة

account_id
string<uuid>
مطلوب

الحساب UUID الذي يمتلك مساحة العمل

id
string<uuid>
مطلوب

UUID مساحة العمل

name
string
مطلوب

اسم عرض مساحة العمل

created_at
string<date-time> | null

الطابع الزمني لإنشاء مساحة العمل

status
string
افتراضي:active

حالة دورة حياة مساحة العمل

updated_at
string<date-time> | null

الطابع الزمني لآخر تحديث لمساحة العمل