Before you begin
Confirm you have:- A staff API token for your firm.
- The numeric
user_id. - The exact exchange entitlement name, such as
CBOT,CME,COMEX, orNYMEX.
Assign or revoke L2
- Assign L2
- Revoke L2
Send the entitlement name with If the user does not already have this L2 entitlement, this call adds it for your firm.
level: "l2" and status: "AUTHORIZED".204 No Content.
Verify the change
Read the user’s entitlement rows:firm_status; it is the status your firm controls.
For an assigned L2 row, expect:
firm_status: "REVOKED".
If the request fails
400: Check theuser_idand request body.404 Entitlement not found: Check the entitlement name and confirm an L2 definition exists.404 User entitlement not found: Confirm theuser_idbelongs to your firm.

