Skip to main content
Browse Documentation

Unsuspend a user

Created by Alex Pop on 24 Nov 2020

A user can be unsuspended using the following call:

unsuspendUser(userId: string): Promise<void>


The userId can be username, email address or a GUID identifier.

If the user is not found then an exception with a 404 Not found is thrown.
If there are no permissions to unsuspend a user then an exception with a 403 Forbidden status is thrown.

    .then( result => {
        console.log('API call was successful');
    .catch(error => {
        console.log('API call error: ', error);