Repository navigation
feat(methods): add admin.slackbot.skills.unpublish method example - #122
Draft
zimeg wants to merge 1 commit into
Conversation
Adds an example that calls admin.slackbot.skills.unpublish with the arguments from its reference page, and lists it in the methods README. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
This was referenced Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request adds a method example for
admin.slackbot.skills.unpublishinmethods/src/main/java/admin/slackbot/skills/AdminSlackbotSkillsUnpublish.java, and lists it inmethods/README.md.This is part 10 of 11 in a stack that adds the Slackbot skills method examples one at a time, following a skill from creation to deletion. Each pull request builds on the one before it and merges on its own, bottom to top. It replaces #112.
slackbot.skills.createslackbot.skills.infoslackbot.skills.updateslackbot.skills.listslackbot.skills.library.addslackbot.skills.library.removeadmin.slackbot.skills.listadmin.slackbot.skills.publishadmin.slackbot.skills.setAutoEnabledadmin.slackbot.skills.unpublish👈 this pull requestslackbot.skills.deleteDependency: stays a draft
This depends on slackapi/java-slack-sdk#1694, which adds
adminSlackbotSkillsUnpublishtoslack-api-client.mvn compilefails against the pinned1.54.0until that ships in a release, as expected. This PR stays a draft until then, and theslack-api-clientpin gets bumped to that release in this stack.Testing
With slackapi/java-slack-sdk#1694 installed locally (
./scripts/install_local.sh) and the pin pointed at that snapshot:cd methodsandexport SLACK_TOKEN=...with the org-installed app's user token (admin.skills:read,admin.skills:write).mvn compile exec:java -Dexec.mainClass=admin.slackbot.skills.AdminSlackbotSkillsUnpublishand check the response. Replace placeholder IDs likeF0123ABCDwith real ones from your workspace to seeok.All 11 examples in this stack ran in order against an Enterprise Grid developer sandbox, with the placeholder IDs swapped for real ones, from creating a skill with a real MCP server through deleting it. Each returned
ok.🤖 Generated with Claude Code