Token
Revoke App Key
Changed onRevoke a hashed public API key immediately. Subsequent ld_* requests return 401.
Dashboard / admin session JWT only. Does not revoke via POST /token/logout. JWT app keys: delete from the dashboard (Prisma deleteAppKey).
post/v2/appkeys/{key_id}/revoke
Request
- Base URLhttps://api.loyalty.dog
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
key_idstring required
Example:5eb7cf5a86d9755df3a6c593
Headers
authorizationstring nullable
Response
Successful Response
Example response
{
"id": "5eb7cf5a86d9755df3a6c593"
}Changes
- info
endpoint added
- info