API referenceSections

AccountUserAdded

AccountUserAdded AccountUser & object
  • user_id string required

    Empty for an invitation not yet accepted

  • email string required
  • role_id string required
    Allowed values: "customer_owner" "developer" "viewer"
  • owner boolean required

    The account's owner, made with the account; changed through the account, never removed here

  • created_at string (date-time) required
  • invited boolean required
  • invitation_token string optional

    Only for an invitation, only in this answer; the panel keeps its hash

  • invitation_url string optional

    The page that accepts the invitation; send it to the person. Only in this answer

  • invitation_expires_at string (date-time) optional

Used by

POST/api/v1/tenants/{tid}/provisioning/accounts/{ref}/usersAdd a user to the account with a role, or invite one (ADR 0121)