Undelete

Last Updated on : 2023-06-15 04:53:23

Undelete the user account within seven days after the pre-deletion operation.

API address

POST: /v1.0/users/{uid}/actions/cancel-delete

Request parameter

Parameter nameTypeINRequiredDescription
uidStringuritrueUser ID

Return parameter

Parameter nameTypeDescription
resultBoolean
  • true: The user account is undeleted.
  • false: Failed to undelete the user account. An error code is returned.

Request example

POST: /v1.0/users/uid******/actions/cancel-delete

Return example

true

Error code

For more information, see error code.