The Slack developer docs are moving! We've been working hard at building out a new docs experience at docs.slack.dev — now in beta! You can start using the new docs today, but we'll keep the content on both sites up to date during the transition.
Advanced

Managing workflow and connector permissions

While Workspace Admins and Org Admins can manage workflow permissions and approval requests from the admin settings site dashboard, they may find using the API directly for these actions is more efficient, especially when it comes to bulk actions.

Each of the methods outlined here accepts an OAuth user token with the specified scope. If you're working with a classic app, read more about authorization here, and if you're exploring new frontiers with workflow automations, read more about authorization here.

Read on to discover the API methods that help admins manage workflows, functions, and connectors in their org.

App management

Use the following methods to manage apps in your org.

Method Description
admin.apps.activities.list Retrieves logs for an org or team
admin.apps.approve Approves an app for installation in a workspace
admin.apps.clearResolution Clears an app resolution, undoing the effect of admin.apps.approve or admin.apps.restrict
admin.apps.restrict Restricts an app for installation in a workspace
admin.apps.uninstall Uninstalls an app from one or many workspaces or an entire enterprise org
admin.apps.approved.list Lists approved apps for an org or workspace
admin.apps.requests.cancel Cancels an app request for a team
admin.apps.requests.list Lists app requests for a team or workspace
admin.apps.restricted.list Lists restricted apps for an org or workspace
admin.apps.config.lookup Looks up the app config for connectors by their IDs
admin.apps.config.set Sets the app config for a connector

Workflow management

Use the following methods to manage workflows in your org.

Method Description
admin.workflows.search Searches workflows within the team or enterprise
admin.workflows.permissions.lookup Looks up permissions for a set of workflows
admin.workflows.unpublish Unpublishes workflows within the team or enterprise
admin.workflows.collaborators.add Adds collaborators to workflows within the team or enterprise
admin.workflows.collaborators.remove Removes collaborators from workflows within the team or enterprise

Function management

Use the following methods to manage functions in your org.

Method Description
admin.functions.list Looks up functions by a set of apps
admin.functions.permissions.lookup Looks up the visibility of multiple Slack functions and includes the users if it is limited to particular named entities
admin.functions.permissions.set Sets the visibility of a Slack function and defines the users or workspaces if it is set to named_entities
Recommended reading