Delete
Delete a specific profile
Usage
unomi.profile.delete(<string>);
Response
{
success: <boolean>,
status: <number>,
data: <string>
}
If a profile is successfully deleted, Unomi returns an empty string with a 204 status code.
Real World Example
async function deleteProfile(profileId) {
const deleted = await unomi.profile.delete(profileId);
return deleted;
}
Last updated
Was this helpful?