Hanzo
OpenapiO11y

Creates a service account in the caller's org, answering its id.

Creates a service account in the caller's org, answering its id.

POST /v1/o11y/service_accounts

Addresshttps://api.hanzo.ai/v1/o11y/service_accounts
MethodPOST
OperationCreateServiceAccount
AuthAuthorization: Bearer $HANZO_API_KEY

Creates a service account in the caller's org, answering its id. The name — a lowercase letter followed by lowercase letters, digits or hyphens — becomes the account's email local part.

Request

1 field, body application/json (required).

FieldInTypeRequiredDescription
namebodystringName is the account's name: a lowercase letter followed by lowercase letters, digits or hyphens, at most 50 characters.

Response

StatusBodyMeaning
201o11y.O11yServiceAccountCreateOutcreated

201 body — 3 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yCreated
data.idbodystringID is the new record's id.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y service_accounts create

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page