question

jworkman avatar image
jworkman asked

How do we apply the profanity filter using admin API - UpdateUserTitleDisplayName?

We would like to to call UpdateUserTitleDisplayName from the Admin API and have it return the ProfaneDisplayName error code just like it does when called from the client. Is this possible?

This works when called from the client, but we would like to make the call from the server so that we can more easily charge as inApp purchase for additional user name changes. When called from the server, it appears to bypass the profanity filter.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Yes, profanity filter does not apply to Admin/UpdateUserTitleDisplayName, therefore you’d need to manually make RESTful API call to Community Sift to perform profanity checks before actually updating the display name.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.