Skip to content

Update CLI for apps to allow importing, exporting, and deleting by id in addition to name.#543

Open
phalestrivir wants to merge 1 commit intorockcarver:mainfrom
trivir:bugfix/app-delete-fixes
Open

Update CLI for apps to allow importing, exporting, and deleting by id in addition to name.#543
phalestrivir wants to merge 1 commit intorockcarver:mainfrom
trivir:bugfix/app-delete-fixes

Conversation

@phalestrivir
Copy link
Contributor

This PR updates the app export/import/delete commands to support doing those commands by id instead of by name. We've run into issues in the past where we would try to provide an id to do one of these commands (since the flag names suggest you need to provide the id), but would end up getting a 404 error since it would attempt to do so by name instead.

This PR also updates the tests, since I made a fix in this library PR that removes the legacy "application" from the export, since we are now using "managedApplication" instead. The "application" still exists on the export though whenever we are exporting OAuth client dependencies (since we use it for OAuth client applications), so I left it in the type definition in case there are OAuth client dependencies on the application still, but anytime there aren't dependencies the object will not be included (just as with the other dependencies).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments