Compose API Documentation

Compose's API gives developers and users programmatic control over the database deployment capabilities of the database-as-a-service platform. Here you'll find the information you need to take the controls.

Documentation
Ask A Question

Questions

Need access to account level roles through API

Posted by Dan McGinnes 2 months ago

For Internal audit purposes we need to be able to list users with Account Admin permissions - I raised the question in slack and apparently this isn't currently possible. Would it be possible to get this added:

https://ibm-argonauts.slack.com/archives/C3QR8TX5Y/p1525878159000750

Dan McGinnes
Hi guys, looking in the Portal under a deployment and then Access I can see some Users/Teams have Full Control (Account Admin) - Is it possible to list these using the API? I find that if I use https://api.compose.io/2016-07/deployments/xxx/roles or https://api.compose.io/2016-07/deployments/xxx/team_roles it doesn't list people with Full Control (Account Admin) . Similarly I can't see anything under https://api.compose.io/2016-07/accounts that looks like it lists those with Full Control

Dan Connor [8:00 PM]
@mcginnes https://api.compose.io/2016-07/deployments/xxx/roles and https://api.compose.io/2016-07/deployments/xxx/team_roles list roles for the provided deployment, so the account-level roles would not be presented. Account-level roles can’t be managed via the API at this time. (edited)
I think we just haven’t gotten to building those endpoints out. There’s not a technical reason why.

Loading comments...