Skip to main content
POST
Créer un compte de service de compte

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

account_id
string<uuid>
requis

Corps

application/json

Corps de requête pour créer un compte de service.

name
string
requis

Nom du compte de service lisible par un humain

Required string length: 1 - 120
expires_at
string<date-time> | null

Horodatage UTC facultatif d’expiration du jeton

Réponse

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

Jeton porteur en clair. Stockez-le maintenant; il ne sera plus jamais renvoyé.

token_last4
string
requis
token_prefix
string
requis
token_public_id
string
requis
updated_at
string<date-time>
requis
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