本人所在全部 org(含角色与成员数)
GET
/v1/orgs
const url = 'https://api.tansr.com/v1/orgs';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.tansr.com/v1/orgs \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”列表
本文是否有帮助?
感谢反馈,我们会持续改进这篇文章。