Deletes everything of one app user in the project: their locations, with every scan of them, and their scans. Deletion is permanent. Call it when a user deletes their account in your app.
A secret key may delete any app user when it sends no x-app-user-id, and only the same one when it does. A user token may delete only its own app user. Anything else answers 403 APP_USER_MISMATCH. Today's scan count of the app user stays until the day ends, so erasing does not reset its daily scan limit. A repeat after a lost answer counts 0.
Not counted against the monthly API request quota.
Recent Requests
Log in to see full request history
Time
Status
User Agent
Retrieving recent requests…
Loading…
Responses
401
MISSING_API_KEY: no x-api-key header and no user token.
INVALID_API_KEY_FORMAT: the key is not rv_live_, rv_client_ or rv_secret_ followed by 64 lowercase hexadecimal characters.
INVALID_SESSION_FORMAT: the Authorization header is not Bearer followed by a user token.
INVALID_API_KEY: no such key, or a key sent with the wrong prefix for its type.
API_KEY_EXPIRED: the key is past its expiry date.
INVALID_APP_USER_TOKEN: the user token is not valid, or the secret key that minted it has been deleted or has expired.
APP_USER_TOKEN_EXPIRED: the user token has expired. Get a new one from your backend.
INVALID_SESSION: a Bearer token that is neither a user token nor a ReactVision Editor session.
403
API_KEY_TYPE_NOT_ALLOWED: a client key or a legacy key. This operation needs a secret key or a user token.
PROJECT_NOT_FOUND: the project does not exist.
PROJECT_ACCESS_DENIED: the project belongs to another team, is not the project the key is bound to, or is not the user token's project.
APP_USER_ID_NOT_ALLOWED: a client or legacy key sent x-app-user-id. Use a user token, or a secret key on your backend.
APP_USER_MISMATCH: a user token deleting another app user, or a secret key that sent another app user's x-app-user-id.
429
RATE_LIMITED: for a secret key, more than 1,200 requests a minute across all operations. Wait the number of seconds in Retry-After. See Limits.
500
INTERNAL_ERROR: an unexpected error. Retry, and quote meta.request_id to support if it persists.
503
AUTH_UNAVAILABLE: the key or user token could not be checked. Retry; this does not mean it is invalid.
VPS_LOOKUP_FAILED: the records could not be read or written. Retry.