After creating a user with “Create a user” API, I deleted it with “Delete a user” API.
And when I try to create with the same ID with “Create a user” API, an error message appears saying “user_id violates unique constraint.”
Is the ID created once cannot be regenerated after deletion?
Hello @crom0805
It may happen since this user is member of a group channel.
You should be okay to recreate if remove this user from group channel.
You can always deactivate a user (optionally remove it form all channels automatically)
A deactivated user is like a removed user.
Set attribute is_active to false.
And leave_all_when_deactivated to true (optional)