Skip to content

Reset User Password

finspacedata_reset_user_password R Documentation

Resets the password for a specified user ID and generates a temporary one

Description

Resets the password for a specified user ID and generates a temporary one. Only a superuser can reset password for other users. Resetting the password immediately invalidates the previous password associated with the user.

Usage

finspacedata_reset_user_password(userId, clientToken)

Arguments

userId

[required] The unique identifier of the user that a temporary password is requested for.

clientToken

A token that ensures idempotency. This token expires in 10 minutes.

Value

A list with the following syntax:

list(
  userId = "string",
  temporaryPassword = "string"
)

Request syntax

svc$reset_user_password(
  userId = "string",
  clientToken = "string"
)