How to specify team/organization permissions for Trello API token? -


i can request token user visiting following url:

https://trello.com/1/connect?key=<key>&name=appname&response_type=token&scope=read,write&expiration=never 

however, when request token's info through api, response looks this:

{     "id": "...",     "identifier": "appname",     "idmember": "...",     "datecreated": "2015-10-15t05:21:19.886z",     "dateexpires": null,     "permissions": [         {             "idmodel": "*",             "modeltype": "board",             "read": true,             "write": true         },         {             "idmodel": "*",             "modeltype": "organization",             "read": true,             "write": true         }     ] } 

i'd able request token grant privileges specific organization. can't seem find clear documentation on kinds of options /1/connect endpoint accepts, or other method can use obtain token specific organization not expire.

i make machine user access organization, shame pay user account when want subset of permissions have.

i don't think possible authenticate against api user , therefore have ability see user can. way i'm aware of (as suggested) create new user , limit can see.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -