tower-cli
tower-cli copied to clipboard
Describe organizations and workspaces by name (API)
Summary
The following issue will allow the direct exact search of an organization and/or workspace via API-SDK using a string name reference instead of ID. The lack of such endpoint forces the CLI to loop through all organization and workspace teams until a match is found, which is not fully efficient for large organizations.
Intended outcome
The result of such a call should lead to a full organization and/org workspace description.
How will it work
A SDK method such api().describeOrganizationByName(String organizationName) and api().describeWorkspaceByName(String organizationName, String workspaceName) will be implemented