Restore profile
https://api.worldota.net/api/b2b/v3/profiles/restore/
The call restores a contract profile.
Request example
curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/b2b/v3/profiles/restore/' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "[email protected]"
}'
Request body
Response example
{
"data": null,
"debug": null,
"error": null,
"status": "ok"
}
Errors
The error
field has the value specified in the headers below.
users_profile_not_found
The profile isn’t found.
profile_is_already_restored
The profile with such an email address is already restored.
restore_users_profile_error
An unknown error. To eliminate the error, contact the API support team.