Skip to main content
POST
/
api
/
v1
/
cards
/
{cardId}
/
stolen
Report a Card as stolen
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.valox.co/api/v1/cards/{cardId}/stolen', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "status": "Card marked as stolen successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cardId
string
required

Response

Card marked as stolen successfully

status
enum<string>
required
Available options:
Card marked as stolen successfully