/v1/admin/fraud/overrides/tradersThe picker of a new override: up to ten traders of the firm whose name or email matches, by name. Each carries the overrides they already have, because a trader has one per detector at most and a second one is refused.
Needs a firm. Our own staff name one with the Propper-Workspace header.
Request
| Parameter | Description |
|---|---|
q | At least two characters, or the answer is an empty list |
curl "https://api.proppertrading.com/v1/admin/fraud/overrides/traders?q=tomasz" \
-H "Authorization: Bearer ptat_9f2c1a44_3b8e7d2f5c9a1b4e6d8f0a2c4e6b8d1f" \
-H "Propper-Workspace: acme"
Response
{ "data": [ { "object": "fraud_trader", "id": "usr_aqms4nt797jdkttb", "name": "Tomasz Ahmed", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_6byt4uys5qp8gp7e", "name": "Tomasz Ahmed", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_3mc4m89ax3excay2", "name": "Tomasz Ahmed", "email": "[email protected]", "overrides": [ { "id": "fovr_n936unrak5zz8u2k", "detector": "max_countries" } ] }, { "object": "fraud_trader", "id": "usr_59679j48zf57guya", "name": "Tomasz Bakker", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_9es2q8yxfdbsy8m5", "name": "Tomasz Bakker", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_8fee6npax8986bpf", "name": "Tomasz Berg", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_8ffzwdsnm763636m", "name": "Tomasz Brennan", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_febfabx4mq5rrsgq", "name": "Tomasz Costa", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_upz95jcgwkr943wz", "name": "Tomasz Costa", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_uafqwaaa4purvh56", "name": "Tomasz Costa", "email": "[email protected]", "overrides": [] } ], "meta": { "request_id": "req_01m50zcmdp7qwgaez02nyqt4by", "has_more": false, "next_cursor": null } }
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | workspace_required | Asked by our own staff without naming a firm |
| 400 | validation_failed | q is not text |
| 401 | invalid_token | Not a token, or the secret does not match |
| 401 | revoked_token | Signed out here or from another device |
| 401 | expired_token | Ninety days without use, or a set expiry passed |
| 403 | admin_access_required | This account no longer helps run the environment |
| 403 | insufficient_scope | This device does not hold admin:read |
| 403 | workspace_not_permitted | The Propper-Workspace header names an environment this account cannot act in |
| 403 | forbidden | Without view_fraud |