Hanzo
OpenapiO11y

Creates a member of the caller's org in the pending-invite state and mails them…

Creates a member of the caller's org in the pending-invite state and mails them their invitation; the answer is the new user's id.

POST /v1/o11y/users

Addresshttps://api.hanzo.ai/v1/o11y/users
MethodPOST
OperationCreateUser
AuthAuthorization: Bearer $HANZO_API_KEY

Creates a member of the caller's org in the pending-invite state and mails them their invitation; the answer is the new user's id. Admin gate.

Request

5 fields, body application/json (required).

FieldInTypeRequiredDescription
displayNamebodystringDisplayName is the new member's display name.
emailbodystringEmail is the new member's address.
frontendBaseUrlbodystringFrontendBaseUrl is the console origin the invite link is built on.
userRolesbodyo11y.O11yRoleID[]UserRoles are the roles the member starts with, each by id.
userRoles[].idbodystringID is the role id.

Response

StatusBodyMeaning
201o11y.O11yCreatedOutcreated

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 users create

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page