Delete a user - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

This web service deletes a user's account.

This web service only fully deletes users from an internal realm. For users from an LDAP or SSO realm, the web service deletes the user's account information in Fluid Topics, but they can still sign in. To prevent them from signing in again, remove the user from the external authentication realm before calling this web service.

Method Endpoint
DELETE
/api/users/{userId}
Path parameter Type Description
{userId} String The user's identifier. See the List users or Search users web services to find a user's ID. It is also possible to get a user's ID from the Manage users menu.

It is necessary to provide an Ft-Calling-App value when using Fluid Topics web services. See Fluid Topics calling app.

Return code Description
200 OK The request is valid and the user's account was deleted.
401 UNAUTHORIZED The authorization header was not provided or is invalid.
403 FORBIDDEN The user or API key does not have the ADMIN or USERS_ADMIN role.
404 NOT FOUND No user exists with this ID.

For a comprehensive list of all possible return codes, see Return codes.