Auth

Create or update an auth user

Service-key endpoint for creating a project auth user, changing admin status, and optionally sending a trusted invite magic link. Lifecycle-gated for non-active projects and DB-rate-limited by project, email, and service-key identity.

post/auth/v1/admin/users

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/auth/v1/admin/users
  • Auth: one of:
    • API key in header apikey
    • API key in header apikey and HTTP bearer

Request body

emailstring email required
is_adminboolean
send_inviteboolean
redirect_urlstring uri

Required when send_invite=true. Must be an allowed project auth redirect origin.

client_stateunknown

Response

Existing user updated

idstring uuid
emailstring email
is_adminboolean
email_verified_atstring date-time nullable
createdboolean
invite_sentboolean

Changes

No recorded changes to this operation across all 1 revision of this API.