الانتقال إلى المحتوى الرئيسي
PATCH
/
v1
/
public
/
accounts
/
{account_id}
/
credentials
/
{credential_id}
تحديث كلمة المرور الرئيسية
curl --request PATCH \
  --url https://api.hybridbox.io/v1/public/accounts/{account_id}/credentials/{credential_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "created_at": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "scope_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updated_at": "<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>
مطلوب
credential_id
string<uuid>
مطلوب

الجسم

application/json

طلب لإعادة تسمية كلمة مرور رئيسية.

name
string
مطلوب

اسم عرض كلمة المرور الرئيسية

Required string length: 1 - 100

الاستجابة

created_at
string
مطلوب

طابع وقت إنشاء كلمة المرور الرئيسية

id
string<uuid>
مطلوب

UUID كلمة المرور الرئيسية

name
string
مطلوب

اسم عرض كلمة المرور الرئيسية

scope_id
string<uuid>
مطلوب

UUID المورد لنطاق كلمة المرور الرئيسية

scope_type
enum<string>
مطلوب

نوع نطاق المورد الذي تنطبق عليه كلمة المرور الرئيسية

الخيارات المتاحة:
account,
workspace,
domain
updated_at
string
مطلوب

طابع وقت آخر تحديث لكلمة المرور الرئيسية