Class AdminAppsUninstallRequest
java.lang.Object
com.slack.api.methods.request.admin.apps.AdminAppsUninstallRequest
- All Implemented Interfaces:
SlackApiRequest
Uninstall an app from one or many workspaces, or an entire enterprise organization.
https://docs.slack.dev/reference/methods/admin.apps.uninstall
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetAppId()The ID of the app to uninstall.The enterprise to completely uninstall the application from (across all workspaces).Ds of the teams to uninstall from (max 100).getToken()Authentication token bearing required scopes.inthashCode()voidThe ID of the app to uninstall.voidsetEnterpriseId(String enterpriseId) The enterprise to completely uninstall the application from (across all workspaces).voidsetTeamIds(List<String> teamIds) Ds of the teams to uninstall from (max 100).voidAuthentication token bearing required scopes.toString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getAppId
The ID of the app to uninstall. -
getEnterpriseId
The enterprise to completely uninstall the application from (across all workspaces). With an org-level token, this or team_ids is required. -
getTeamIds
Ds of the teams to uninstall from (max 100). With an org-level token, this or enterprise_id is required. -
setToken
Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.- Specified by:
setTokenin interfaceSlackApiRequest
-
setAppId
The ID of the app to uninstall. -
setEnterpriseId
The enterprise to completely uninstall the application from (across all workspaces). With an org-level token, this or team_ids is required. -
setTeamIds
Ds of the teams to uninstall from (max 100). With an org-level token, this or enterprise_id is required. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-