validateDisplayNameForNewUser
Validates a display name for a new user (NOTE: This does not change the display name).
Parameters
Name | Type | Description |
---|---|---|
displayName | string | The display name to be validated. |
birthdate | ISODateTime | Date | The 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