API ReferenceAuth
Reject a waitlisted email (admin)
Admin-only: flip an email to status='rejected'.
Requires a valid bearer token whose account has platform role 'admin'. Subsequent /register and /auth/otp/* attempts from this email return 403 immediately.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
email*Email
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Admin decision payload for approving/rejecting a waitlisted email.
Response Body
application/json
application/json
curl -X POST "https://example.com/auth/whitelist/string/reject" \ -H "Content-Type: application/json" \ -d '{ "is_admin": false, "notes": "Verified via sales." }'nullEmpty
Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}