Token Configuration
The base settings for a token. Check if a token is valid, or even delete it!
Check token
GET https://accountable.pixelninja.dev/:token
This will check if a token is valid. This is recommended on startup to ensure you have a valid token. The Node.js module does this automatically. This endpoint can be called once per second.
Path Parameters
Name
Type
Description
token
string
This is your API token.
{"code":200,"message":"OK"}{"code":400,"message":"Bad request"}{"code":404,"message":"Not found"}Delete Entire Database
DELETE https://accountable.pixelninja.dev/:token
This will delete all user info and token info. No data will be saved and the token will not be usable at all. This is permanent and should only be done if you are 100% sure. Make a backup before deleting! Although this doesn't really apply, the ratelimit is 1 request per second.
Path Parameters
Name
Type
Description
Token
string
This is your API token.
{"code":204,"message":"No content"}{"code":400,"message":"Bad request"}Last updated
Was this helpful?