Sysadmin is not allowed to manage devices, tenant admins are allowed to mange them. Therefore, you need to impersonate a tenant admin. Assuming that you already know the user_id of the tenant admin, you can call to
curl -X 'GET' \
'https://thingsboard.cloud:443/api/user/{user_id_to_impersonate}/token' \
-H 'accept: application/json'
Extract of Thingsboard documentation: https://thingsboard.cloud/swagger-ui/#/user-controller/getUserTokenUsingGET
Returns the token of the User based on the provided User Id. If the user who performs the request has the authority of 'SYS_ADMIN', it is possible to get the token of any tenant administrator. If the user who performs the request has the authority of 'TENANT_ADMIN', it is possible to get the token of any customer user that belongs to the same tenant.
Then you can use this token for accessing as another user.
Notice those restrictions: you can impersonate a tenant admin from a System administrator and a user from a tenant admin.
I hope this helps.