メインコンテンツへスキップ
POST
/
v1
/
public
/
accounts
/
{account_id}
/
credentials
マスターパスワードを作成
curl --request POST \
  --url https://api.hybridbox.io/v1/public/accounts/{account_id}/credentials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "domain": "<string>",
  "generate": false,
  "value": "<string>",
  "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "created_at": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "scope_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updated_at": "<string>",
  "generated_secret": "<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>
必須

ボディ

application/json

アカウントパススコープでマスターパスワードを作成するリクエスト。

name
string
必須

マスターパスワードの表示名

Required string length: 1 - 100
domain
string | null

マスターパスワードのスコープにするドメイン UUID またはドメイン名

generate
boolean
デフォルト:false

値を指定せずにマスターパスワードのシークレットを生成

value
string | null

生成しない場合のマスターパスワードのシークレット値

Required string length: 4 - 256
workspace_id
string<uuid> | null

マスターパスワードのワークスペース UUID スコープ

レスポンス

created_at
string
必須

マスターパスワード作成時刻

id
string<uuid>
必須

マスターパスワード UUID

name
string
必須

マスターパスワードの表示名

scope_id
string<uuid>
必須

マスターパスワードスコープのリソース UUID

scope_type
enum<string>
必須

マスターパスワードが適用されるリソーススコープの種類

利用可能なオプション:
account,
workspace,
domain
updated_at
string
必須

マスターパスワードの最終更新時刻

generated_secret
string | null

リクエスト時に返される一度限り生成されたマスターパスワードシークレット