Classic APIs
ClassicUsersApi
validateDisplayNameForNewUser

validateDisplayNameForNewUser

Validates a display name for a new user (NOTE: This does not change the display name).

Parameters

NameTypeDescription
displayNamestringThe display name to be validated.
birthdateISODateTime | DateThe birthdate of the new user.

Example

const { data: displayNameIsValid } = await ClassicUsersApi.validateDisplayNameForNewUser({
  displayName: "Hello",
  birthdate: "2023-07-27T04:14:57+0000",
}); 

Endpoint

GET /v1/display-names/validate