Get Restriction IDs For A User
Returns all restriction IDs for the given username. The username must be the master user, a sub-user, or a user with trading access under the master account. Returns 403 for both unauthorized and non-existent users to prevent ID enumeration.<br><br>**Scope**: `restrictions.read`<br>**Security Policy**: `HTTPS`
Headers
Authorization
RS256-signed JWT (Bearer format), signed with your registered private key. Must contain an accountId claim identifying the master account. A missing or invalid token returns HTTP 401.
Query parameters
masterUserName
IBKR master username of the authenticated caller. Max 64 characters.
userName
Username to query. Max 64 characters.
isEmpTrack
Set to T for employer-track authorization.
Response
Restriction IDs for the user.
status
Always ok on success.
userName
Echoed from the request. If the supplied userName was an alias, the alias is returned as-is.
restrictionIds
Restriction IDs for the user. Empty array when none.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error

