Memco

Interface UpdateUserOptions

What UserOperations.update changes.

Only what is given changes. A field left out stays as it is; an empty name or email is sent, and clears it. The external id itself cannot be changed.

interface UpdateUserOptions {
    name?: string;
    email?: string;
    roles?: Iterable<string, any, any>;
    timeout?: number;
}

Hierarchy (View Summary)

Index
name?: string

The new name.

email?: string

The new email address.

roles?: Iterable<string, any, any>

The roles to replace the user's with. At least one: to leave them as they are, leave this out.

timeout?: number

Seconds to wait for this call. Defaults to the client's own timeout.

On this page