Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unpublish extension action in automation api #27916

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

florian-d
Copy link

@florian-d florian-d commented Jan 9, 2025

Summary

add a new action unpublish to page 30002 "APIV2 - Aut. Extensions" link.

Flow:
  1. User sends a request POST https://.../api/microsoft/automation/v2.0/companies(...)/extensions(<packageId>)/Microsoft.NAV.unpublish
  2. new unpublish action gets called
  3. If package is installed, raise error
  4. call ExtensionManagement.UnpublishExtension(Rec."Package ID"); to unpublish app
  5. Return WebServiceActionResultCode::Deleted

Work Item(s)

Fixes #27901

Fixes AB#391847

@github-actions github-actions bot added the linked Issue is linked to a Azure Boards work item label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linked Issue is linked to a Azure Boards work item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BC Idea]: Add Unpublish to the Automation API
1 participant