User reset conditions
Successful user reset conditions.
User rotation reset made by API. To the below specified address send JSON with three parameters: site_id
, site_login
and signature
.
Request address
https://a.papaya.ninja/api/clear/rotation/
curl -X POST -H "Content-Type: application/json" \
-d '{"site_id": 21, "site_login": "551d0ad9072b30f3b71b989e", "signature": "50a29ef99a552115c4d8c6502a56be75384d77ff"}' https://a.papaya.ninja/api/clear/rotation/
Possible responds to the request:
{
"error": null,
"success": true
}
{
"error": "Particular error.",
"success": false
}
Reset parameters
Main request parameters for user rotation reset
Parameter
Mandatory
Format
Description
Example
site_id
Yes
integer
Site identifier in the system
1
site_login
Yes
varchar(256)
User’s site login
user_test
signature
Yes
SHA-1
Request signature, see Request signature generating rules
50a29ef99a552115c4d8c6502a56be75384d77ff
Last updated