# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake module Slack module Web module Api module Endpoints module ToolingTokens # # Exchanges a refresh token for a new app configuration token. # # @option options [string] :refresh_token # The xoxe refresh token that was issued along with the old app configuration token. # @see https://api.slack.com/methods/tooling.tokens.rotate # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/tooling.tokens/tooling.tokens.rotate.json def tooling_tokens_rotate(options = {}) raise ArgumentError, 'Required arguments :refresh_token missing' if options[:refresh_token].nil? post('tooling.tokens.rotate', options) end end end end end end