Reset the active user profile with the specified ID, or reset all active user profiles when id is not specified.
id
OK
const response = await fetch('http://127.0.0.1:8888/api/users/profile', { method: 'POST', headers: {}, }); const data = await response.json();
Reset user profile.
The unique ID of user.
const response = await fetch('http://127.0.0.1:8888/api/users/{id}/profile', { method: 'POST', headers: {}, }); const data = await response.json();