Skip to main content
POST
パブリックアカウントのサービスアカウントを作成

承認

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 - 120
expires_at
string<date-time> | null

任意の UTC トークン有効期限タイムスタンプ

レスポンス

account_id
string<uuid>
必須
created_at
string<date-time>
必須
id
string<uuid>
必須
name
string
必須
token
string
必須

平文のベアラートークンです。今すぐ保存してください。二度と返されません。

token_last4
string
必須
token_prefix
string
必須
token_public_id
string
必須
updated_at
string<date-time>
必須
created_by_user_id
string<uuid> | null
expires_at
string<date-time> | null
last_used_at
string<date-time> | null
revoked_at
string<date-time> | null
revoked_by_user_id
string<uuid> | null