user-controller
Enable/Disable User credentials (setUserCredentialsEnabled)
Enables or Disables user credentials. Useful when you would like to block user account without deleting it. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details.
Available for users with 'TENANT_ADMIN' authority.
post/api/user/{userId}/userCredentialsEnabled
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdstring required
A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Query parameters
userCredentialsEnabledstring
Enable ("true") or disable ("false") the credentials.
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.