Undo a perk given here
POST
/counter/uses/{useId}/undo
Within 15 minutes, at the location it was given at. The person gets the use back. Not while a giver's report on the use waits for an answer: the report decides. The audit row names who undid it (the device, or the team member).
Authorizations
or
BearerAuth
In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.
Type
HTTP (bearer)
Parameters
Header Parameters
X-Counter-Location
Type
string
Format
"uuid"Path Parameters
useId*
Type
Requiredstring
Format
"uuid"Responses
Undone
application/json
JSON
{
"data": {
"useId": "string",
"undoneAt": "string"
}
}