Slacktivate is a Python library and Command-Line Interface to assist in the provisioning and management of a Slack workspace.
Slacktivate is a Python library and Command-Line Interface to assist in the provisioning and management of a Slack workspace, using both the Slack API and the Slack SCIM API.
Prerequisites: Having Owner Access and Getting an API Token
In order to use the SCIM API, you need to be an owner of the workspace, and obtain an API token with
As explained in the official Slack SCIM API documentation, the easiest way to obtain a valid token for the purposes of SCIM provisioning is as follows:
- As a Workspace/Organization Owner, create a new app for your workspace (see here for the documentation).
- Add the
adminOAuth scope to the "User Token Scopes" section.
- Install the app to your workspace (see here for the documentation).
- Use the generated token (if you are provided with multiple tokens, use the "OAuth Access Token" not the "Bot User OAuth Access Token").
Note that you can easily reinstall your app with different permissions if it turns out you did not select all the necessary permissions.
This project is licensed under the LGPLv3 license, with the understanding that importing a Python modular is similar in spirit to dynamically linking against it.
You can use the library/CLI
slacktivatein any project, for any purpose, as long as you provide some acknowledgement to this original project for use of the library (for open source software, just explicitly including
slacktivatein the dependency such as a
Pipfileis acknowledgement enough for me!).
If you make improvements to
slacktivate, you are required to make those changes publicly available.
This license is compatible with the license of all the dependencies as
documented in this project's own
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for slacktivate-0.2.13-py3-none-any.whl