List all Orgs
Example
curl --location --request GET 'https://dev.underdogprotocol.com/v2/orgs' \
--header 'Authorization: Bearer {token}'
const axios = require('axios');
let config = {
method: 'get',
url: 'https://dev.underdogprotocol.com/v2/orgs',
headers: {
'Authorization': 'Bearer {token}'
}
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Response
{
"results": [
{
"id": 1,
"superAdminAddress": "EBeLw5jEdrEgDe17BdKGW2MizzGxtxigEuAGvYC7VzDp",
"status": "confirmed",
"network": "DEVNET"
}
],
"page": 1,
"limit": 10,
"totalPages": 1,
"totalResults": 1
}
Last updated