Skip to content
Navigation

Claim a username

Claim a globally unique username.

Claiming is one-time: once you have a username, this endpoint returns 409. Changing it afterwards goes through PUT /auth/username, which is subject to a 14-day cooldown.

POST
https://truememory-auth.mvstg.com/auth/username/claim
View as Markdown

Authorization

  • HTTPBearerHTTPrequired

Request bodyJSONrequired

  • usernamestringrequired

    Desired username. 3-30 chars, lowercase alphanumeric, hyphens, underscores.

Returns

200

Successful Response

JSON
  • idstringrequired
    format: uuid
  • gip_uidstringrequired
  • tenant_idoptional

    One of the following:

    • string
    • null
  • emailoptional

    One of the following:

    • string
    • null
  • email_verifiedoptionalboolean
    default: false
  • usernameoptional

    One of the following:

    • string
    • null
  • display_nameoptional

    One of the following:

    • string
    • null
  • photo_urloptional

    One of the following:

    • string
    • null
  • phone_numberoptional

    One of the following:

    • string
    • null
  • disabledoptionalboolean
    default: false
  • roleoptionalstring
    default: "user"
  • metadataoptionalobject
  • raw_app_meta_dataoptionalobject
  • custom_claimsoptionalobject
  • last_sign_in_atoptional

    One of the following:

    • string
    • null
  • created_atoptional

    One of the following:

    • string
    • null
  • updated_atoptional

    One of the following:

    • string
    • null
  • deleted_atoptional

    One of the following:

    • string
    • null
  • deletion_completed_atoptional

    One of the following:

    • string
    • null

422

Validation Error
JSON
  • detailoptionalarray ofobject
    • locarray ofrequired

      One of the following:

      • string
      • integer
    • msgstringrequired
    • typestringrequired
    • inputoptionalunknown
    • ctxoptionalobject

Type to search…

↑↓ navigate↵ selectEsc close