API to create & manage organizations?

Hi :wave:,

Are there plans to provide an API to create & manage organizations?

I’m working on a project where clients use GitHub OAuth to sign in on a web app. Once signed in, the web app uses the Machines REST API to create machines for the client to which the client connects to via SSH.

Given that each machine within an organization can talk to any other machine within the same organization, I want to separate each client by creating an organization for them.

Happy to discuss the use case in more detail too if that helps.

Thanks,

Mike

You can check out the GraphQL API for this: GraphQL Playground. We don’t have any official docs, but you can see how we use it from flyctl.

1 Like

Clever :slight_smile:! Thanks for pointing me in the right direction.

I didn’t even know about the GraphQL API… This looks promising already.