English
English
简体中文
Contact Us
Register
Log In

Undelete

Last Updated on : 2022-04-29 05:38:12download

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.