openapi: 3.1.0 info: title: Slack Admin API description: "The Slack Admin API is a set of privileged endpoints\x14primarily under admin.* with related SCIM and Audit Logs APIs\x14that lets Enterprise Grid owners and admins automate organization\x11 wide management and governance. It covers user lifecycle (provision, suspend, assign roles), workspace and channel administration across workspaces (create, move, archive channels; manage membership and settings), app governance (approve/deny or allowlist/ban apps and install them to workspaces), invite request handling, and security/compliance controls such as information barriers, session and authentication policies, and org\x11level analytics exports. These APIs require elevated admin scopes and are commonly used to power automated onboarding/offboarding, centralized channel and app controls, and integrations with identity, ITSM, and compliance systems." paths: /admin.apps.approve: post: tags: - Administrative - Applications - Approve - Post description: Approve an app for installation on a workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.apps.approve operationId: postAdminAppsApprove parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.apps:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: type: object properties: app_id: type: string description: The id of the app to approve. request_id: type: string description: The id of the request to approve. team_id: type: string application/json: schema: type: object properties: app_id: type: string description: The id of the app to approve. request_id: type: string description: The id of the request to approve. team_id: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.apps:write summary: Slack Post Admin Apps Approve x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.apps.approved.list: get: tags: - Administrative - Applications - Approved - Get - Lists description: List approved apps for an org or workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.apps.approved.list operationId: getAdminAppsApprovedList parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin.apps:read`' required: true schema: type: string - name: limit in: query description: >- The maximum number of items to return. Must be between 1 - 1000 both inclusive. schema: type: integer - name: cursor in: query description: >- Set `cursor` to `next_cursor` returned by the previous call to list items in the next page schema: type: string - name: team_id in: query schema: type: string - name: enterprise_id in: query schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: approved_apps: - app: additional_info: '' app_directory_url: >- https://myteam.enterprise.slack.com/apps/A0W7UKG8E-my-test-app app_homepage_url: https://www.slack.com description: test app help_url: https://www.slack.com icons: image_1024: https://3026743124446w96_2bd4ea1ad1f89a23c242_1024.png image_128: https://30267341249446w6_2bd4ea1ad1f89a23c242_128.png image_192: https://30267431249446w6_2bd4ea1ad1f89a23c242_192.png image_32: https://302674312496446w_2bd4ea1ad1f89a23c242_32.png image_36: https://302674312496446w_2bd4ea1ad1f89a23c242_36.png image_48: https://302674312496446w_2bd4ea1ad1f89a23c242_48.png image_512: https://30267431249446w6_2bd4ea1ad1f89a23c242_512.png image_64: https://302674312496446w_2bd4ea1ad1f89a23c242_64.png image_72: https://302674312496446w_2bd4ea1ad1f89a23c242_72.png image_96: https://302674312496446w_2bd4ea1ad1f89a23c242_96.png image_original: >- https://302674446w12496_2bd4ea1ad1f89a23c242_original.png id: A0W7UKG8E is_app_directory_approved: false is_internal: false name: My Test App privacy_policy_url: https://www.slack.com date_updated: 1574296707 last_resolved_by: actor_id: W0G82F4FD actor_type: user scopes: - description: >- Add the ability for people to direct message or mention @my_test_app is_sensitive: true name: bot token_type: bot ok: true response_metadata: next_cursor: '' default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.apps:read summary: Slack Get Admin Apps Approved List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.apps.requests.list: get: tags: - Administrative - Applications - Get - Lists - Requests description: List app requests for a team/workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.apps.requests.list operationId: getAdminAppsRequestsList parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin.apps:read`' required: true schema: type: string - name: limit in: query description: >- The maximum number of items to return. Must be between 1 - 1000 both inclusive. schema: type: integer - name: cursor in: query description: >- Set `cursor` to `next_cursor` returned by the previous call to list items in the next page schema: type: string - name: team_id in: query schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: app_requests: - app: additional_info: '' app_directory_url: https://acmecorp.slack.com/apps/A061BL8RQ0-test-app app_homepage_url: '' description: '' help_url: '' icons: image_1024: /cdn/15258203/img/testapp/service_1024.png image_128: /cdn/157258203/img/testapp/service_128.png image_192: /cdn/157258203/img/testapp/service_192.png image_32: /cdn/157658203/img/testapp/service_32.png image_36: /cdn/157658203/img/testapp/service_36.png image_48: /cdn/157658203/img/testapp/service_48.png image_512: /cdn/15758203/img/testapp/service_512.png image_64: /cdn/157658203/img/testapp/service_64.png image_72: /cdn/157658203/img/testapp/service_72.png image_96: /cdn/157658203/img/testapp/service_96.png id: A061BL8RQ0 is_app_directory_approved: true is_internal: false name: Test App privacy_policy_url: https://testapp.com/privacy date_created: 1578956327 id: Ar0XJGFLMLS message: test test again previous_resolution: scopes: - description: Post messages to specific channels in Slack is_sensitive: false name: incoming-webhook token_type: user team: domain: acmecorp id: T0M94LNUCR name: Acme Corp user: email: janedoe@example.com id: W08RA9G5HR name: Jane Doe ok: true response_metadata: next_cursor: '' default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: missing_scope needed: admin.apps:read ok: false provided: read,client,admin,identify,post,apps security: - slackAuth: - admin.apps:read summary: Slack Get Admin Apps Requests List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.apps.restrict: post: tags: - Administrative - Applications - Post - Restrict description: Restrict an app for installation on a workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.apps.restrict operationId: postAdminAppsRestrict parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.apps:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: type: object properties: app_id: type: string description: The id of the app to restrict. request_id: type: string description: The id of the request to restrict. team_id: type: string application/json: schema: type: object properties: app_id: type: string description: The id of the app to restrict. request_id: type: string description: The id of the request to restrict. team_id: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.apps:write summary: Slack Post Admin Apps Restrict x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.apps.restricted.list: get: tags: - Administrative - Applications - Get - Lists - Restricted description: List restricted apps for an org or workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.apps.restricted.list operationId: getAdminAppsRestrictedList parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin.apps:read`' required: true schema: type: string - name: limit in: query description: >- The maximum number of items to return. Must be between 1 - 1000 both inclusive. schema: type: integer - name: cursor in: query description: >- Set `cursor` to `next_cursor` returned by the previous call to list items in the next page schema: type: string - name: team_id in: query schema: type: string - name: enterprise_id in: query schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true response_metadata: next_cursor: '' restricted_apps: - app: additional_info: '' app_directory_url: >- https://myteam.enterprise.slack.com/apps/A0FDLP8M2L-my-test-app app_homepage_url: https://example.com description: A fun test app for Slack help_url: https://example.com icons: image_1024: >- https://1433265338rl878408_eb57dbc818daa4ba15d6_1024.png image_128: https://4332653438rl87808_eb57dbc818daa4ba15d6_128.png image_192: https://4332653438rl87808_eb57dbc818daa4ba15d6_192.png image_32: https://143326534038rl8788_eb57dbc818daa4ba15d6_32.png image_36: https://143326534038rl8788_eb57dbc818daa4ba15d6_36.png image_48: https://143326534038rl8788_eb57dbc818daa4ba15d6_48.png image_512: https://4332653438rl87808_eb57dbc818daa4ba15d6_512.png image_64: https://143326534038rl8788_eb57dbc818daa4ba15d6_64.png image_72: https://143326534038rl8788_eb57dbc818daa4ba15d6_72.png image_96: https://143326534038rl8788_eb57dbc818daa4ba15d6_96.png image_original: >- https://143338rl8782653408_eb57dbc818daa4ba15d6_original.png id: A0FDLP8M2L is_app_directory_approved: true is_internal: false name: My Test App privacy_policy_url: https://example.com date_updated: 1574296721 last_resolved_by: actor_id: W0G82LMFD actor_type: user scopes: - description: Upload, edit, and delete files on the user's behalf is_sensitive: true name: files:write:user token_type: user default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.apps:read summary: Slack Get Admin Apps Restricted List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.archive: post: tags: - Administrative - Archive - Conversations - Post description: Archive a public or private channel. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.archive operationId: postAdminConversationsArchive parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_id type: object properties: channel_id: type: string description: The channel to archive. application/json: schema: required: - channel_id type: object properties: channel_id: type: string description: The channel to archive. required: true responses: '200': description: Typical success response content: application/json: schema: title: admin.conversations.archive schema required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: false description: Schema for successful response of admin.conversations.archive example: ok: true default: description: Typical error response content: application/json: schema: title: admin.conversations.archive error schema required: - error - ok type: object properties: error: type: string enum: - feature_not_enabled - channel_not_found - channel_type_not_supported - default_org_wide_channel - already_archived - cant_archive_general - restricted_action - could_not_archive_channel ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: Schema for error response from admin.conversations.archive example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:write summary: Slack Post Admin Conversations Archive x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.convertToPrivate: post: tags: - Administrative - Conversations - Post description: Convert a public channel to a private channel. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.convertToPrivate operationId: postAdminConversationsConverttoprivate parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_id type: object properties: channel_id: type: string description: The channel to convert to private. application/json: schema: required: - channel_id type: object properties: channel_id: type: string description: The channel to convert to private. required: true responses: '200': description: Typical success response content: application/json: schema: title: admin.conversations.convertToPrivate schema required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: false description: >- Schema for successful response of admin.conversations.convertToPrivate example: ok: true default: description: Typical error response content: application/json: schema: title: admin.conversations.convertToPrivate error schema required: - error - ok type: object properties: error: type: string enum: - feature_not_enabled - restricted_action - name_taken - channel_not_found - channel_type_not_supported - default_org_wide_channel - method_not_supported_for_channel_type - could_not_convert_channel - external_channel_migrating ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: >- Schema for error response from admin.conversations.convertToPrivate example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:write summary: Slack Post Admin Conversations Converttoprivate x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.create: post: tags: - Administrative - Conversations - Create - Post description: Create a public or private channel-based conversation. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.create operationId: postAdminConversationsCreate parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - is_private - name type: object properties: name: type: string description: Name of the public or private channel to create. description: type: string description: Description of the public or private channel to create. is_private: type: boolean description: >- When `true`, creates a private channel instead of a public channel org_wide: type: boolean description: >- When `true`, the channel will be available org-wide. Note: if the channel is not `org_wide=true`, you must specify a `team_id` for this channel team_id: type: string description: >- The workspace to create the channel in. Note: this argument is required unless you set `org_wide=true`. application/json: schema: required: - is_private - name type: object properties: name: type: string description: Name of the public or private channel to create. description: type: string description: Description of the public or private channel to create. is_private: type: boolean description: >- When `true`, creates a private channel instead of a public channel org_wide: type: boolean description: >- When `true`, the channel will be available org-wide. Note: if the channel is not `org_wide=true`, you must specify a `team_id` for this channel team_id: type: string description: >- The workspace to create the channel in. Note: this argument is required unless you set `org_wide=true`. required: true responses: '200': description: Typical success response content: application/json: schema: title: admin.conversations.create schema required: - ok type: object properties: channel_id: $ref: '#/components/schemas/defs_channel_id' ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: false description: Schema for successful response of admin.conversations.create example: channel_id: C12345 ok: true default: description: Typical error response content: application/json: schema: title: admin.conversations.create error schema required: - error - ok type: object properties: error: type: string enum: - feature_not_enabled - name_taken - restricted_action - team_not_found - invalid_team - invalid_name - could_not_create_channel - team_id_or_org_required ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: Schema for error response from admin.conversations.create example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:write summary: Slack Post Admin Conversations Create x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.delete: post: tags: - Administrative - Conversations - Deletes - Post description: Delete a public or private channel. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.delete operationId: postAdminConversationsDelete parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_id type: object properties: channel_id: type: string description: The channel to delete. application/json: schema: required: - channel_id type: object properties: channel_id: type: string description: The channel to delete. required: true responses: '200': description: Typical success response content: application/json: schema: title: admin.conversations.delete schema required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: false description: Schema for successful response of admin.conversations.delete example: ok: true default: description: Typical error response content: application/json: schema: title: admin.conversations.delete error schema required: - error - ok type: object properties: error: type: string enum: - feature_not_enabled - not_an_admin - channel_not_found - channel_type_not_supported - default_org_wide_channel - restricted_action - could_not_delete_channel - missing_scope ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: Schema for error response from admin.conversations.delete example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:write summary: Slack Post Admin Conversations Delete x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.disconnectShared: post: tags: - Administrative - Conversations - Post description: Disconnect a connected channel from one or more workspaces. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.disconnectShared operationId: postAdminConversationsDisconnectshared parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_id type: object properties: channel_id: type: string description: The channel to be disconnected from some workspaces. leaving_team_ids: type: string description: >- The team to be removed from the channel. Currently only a single team id can be specified. application/json: schema: required: - channel_id type: object properties: channel_id: type: string description: The channel to be disconnected from some workspaces. leaving_team_ids: type: string description: >- The team to be removed from the channel. Currently only a single team id can be specified. required: true responses: '200': description: Typical success response content: application/json: schema: title: admin.conversations.rename schema required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: false description: >- Schema for successful response of admin.conversations.disconnectShared example: ok: true default: description: Typical error response content: application/json: schema: title: admin.conversations.disconnectShared error schema required: - error - ok type: object properties: error: type: string enum: - feature_not_enabled - not_an_admin - not_an_enterprise - channel_not_found - not_supported - team_not_found - restricted_action - missing_scope - leaving_team_not_in_channel - no_teams_to_disconnect - leaving_team_required - cannot_kick_team - cannot_kick_home_team ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: >- Schema for error response from admin.conversations.disconnectShared example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:write summary: Slack Post Admin Conversations Disconnectshared x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.ekm.listOriginalConnectedChannelInfo: get: tags: - Administrative - Conversations - Get description: >- List all disconnected channels i.e., channels that were once connected to other workspaces and then disconnected and the corresponding original channel IDs for key revocation with EKM. externalDocs: description: API method documentation url: >- https://api.slack.com/methods/admin.conversations.ekm.listOriginalConnectedChannelInfo operationId: getAdminConversationsEkmListoriginalconnectedchannelinfo parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin.conversations:read`' required: true schema: type: string - name: channel_ids in: query description: A comma-separated list of channels to filter to. schema: type: string - name: team_ids in: query description: >- A comma-separated list of the workspaces to which the channels you would like returned belong. schema: type: string - name: limit in: query description: >- The maximum number of items to return. Must be between 1 - 1000 both inclusive. schema: type: integer - name: cursor in: query description: >- Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: channels: - id: string internal_team_ids: array original_connected_channel_id: string original_connected_host_id: string ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:read summary: Slack Get Admin Conversations Ekm Listoriginalconnectedchannelinfo x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.getConversationPrefs: get: tags: - Administrative - Conversations - Get description: Get conversation preferences for a public or private channel. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.getConversationPrefs operationId: getAdminConversationsGetconversationprefs parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:read`' required: true schema: type: string - name: channel_id in: query description: The channel to get preferences for. required: true schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: admin.conversations.getConversationPrefs schema required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' prefs: type: object properties: can_thread: type: object properties: type: type: array items: type: string user: type: array items: type: string who_can_post: type: object properties: type: type: array items: type: string user: type: array items: type: string additionalProperties: false description: >- Schema for successful response of admin.conversations.getConversationPrefs example: ok: true default: description: Typical error response content: application/json: schema: title: admin.conversations.unarchive error schema required: - error - ok type: object properties: error: type: string enum: - feature_not_enabled - not_an_admin - not_an_enterprise - restricted_action - missing_scope - channel_not_found - channel_type_not_supported - could_not_get_conversation_prefs ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: >- Schema for error response from admin.conversations.getConversationPrefs example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:read summary: Slack Get Admin Conversations Getconversationprefs x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.getTeams: get: tags: - Administrative - Conversations - Get description: >- Get all the workspaces a given public or private channel is connected to within this Enterprise org. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.getTeams operationId: getAdminConversationsGetteams parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:read`' required: true schema: type: string - name: channel_id in: query description: >- The channel to determine connected workspaces within the organization for. required: true schema: type: string - name: cursor in: query description: >- Set `cursor` to `next_cursor` returned by the previous call to list items in the next page schema: type: string - name: limit in: query description: >- The maximum number of items to return. Must be between 1 - 1000 both inclusive. schema: type: integer responses: '200': description: Typical success response content: application/json: schema: title: admin.conversations.getTeams schema required: - ok - team_ids type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' response_metadata: type: object additionalProperties: false team_ids: type: array items: $ref: '#/components/schemas/defs_team' additionalProperties: false description: Schema for successful response of admin.conversations.getTeams example: ok: true teams: - T1234 - T5678 default: description: Typical error response content: application/json: schema: title: admin.conversations.getTeams error schema required: - error - ok type: object properties: error: type: string enum: - feature_not_enabled - channel_not_found - channel_type_not_supported - unsupported_team_type - restricted_action - could_not_get_teams - invalid_cursor - invalid_limit ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: Schema for error response from admin.conversations.getTeams example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:read summary: Slack Get Admin Conversations Getteams x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.invite: post: tags: - Administrative - Conversations - Invites - Post description: Invite a user to a public or private channel. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.invite operationId: postAdminConversationsInvite parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_id - user_ids type: object properties: user_ids: type: string description: The users to invite. channel_id: type: string description: The channel that the users will be invited to. application/json: schema: required: - channel_id - user_ids type: object properties: user_ids: type: string description: The users to invite. channel_id: type: string description: The channel that the users will be invited to. required: true responses: '200': description: Typical success response content: application/json: schema: title: admin.conversations.invite schema required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: false description: Schema for successful response of admin.conversations.invite example: ok: true default: description: Typical error response content: application/json: schema: title: admin.conversations.invite error schema required: - error - ok type: object properties: error: type: string enum: - feature_not_enabled - channel_not_found - channel_type_not_supported - default_org_wide_channel - restricted_action - user_must_be_admin - failed_for_some_users ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: Schema for error response from admin.conversations.invite example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:write summary: Slack Post Admin Conversations Invite x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.rename: post: tags: - Administrative - Conversations - Post - Rename description: Rename a public or private channel. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.rename operationId: postAdminConversationsRename parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_id - name type: object properties: channel_id: type: string description: The channel to rename. name: type: string application/json: schema: required: - channel_id - name type: object properties: channel_id: type: string description: The channel to rename. name: type: string required: true responses: '200': description: Typical success response content: application/json: schema: title: admin.conversations.rename schema required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: false description: Schema for successful response of admin.conversations.rename example: ok: true default: description: Typical error response content: application/json: schema: title: admin.conversations.unarchive error schema required: - error - ok type: object properties: error: type: string enum: - feature_not_enabled - channel_not_found - channel_type_not_supported - restricted_action - could_not_rename_channel - default_org_wide_channel - name_taken ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: Schema for error response from admin.conversations.rename example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:write summary: Slack Post Admin Conversations Rename x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.restrictAccess.addGroup: post: tags: - Administrative - Conversations - Post description: Add an allowlist of IDP groups for accessing a channel externalDocs: description: API method documentation url: >- https://api.slack.com/methods/admin.conversations.restrictAccess.addGroup operationId: postAdminConversationsRestrictaccessAddgroup requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_id - group_id - token type: object properties: token: type: string description: >- Authentication token. Requires scope: `admin.conversations:write` team_id: type: string description: >- The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. group_id: type: string description: >- The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to be an allowlist for the private channel. channel_id: type: string description: The channel to link this group to. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:write summary: Slack Post Admin Conversations Restrictaccess Addgroup x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.restrictAccess.listGroups: get: tags: - Administrative - Conversations - Get description: List all IDP Groups linked to a channel externalDocs: description: API method documentation url: >- https://api.slack.com/methods/admin.conversations.restrictAccess.listGroups operationId: getAdminConversationsRestrictaccessListgroups parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin.conversations:read`' required: true schema: type: string - name: channel_id in: query required: true schema: type: string - name: team_id in: query description: >- The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: group_ids: - YOUR_GROUP_ID ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:read summary: Slack Get Admin Conversations Restrictaccess Listgroups x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.restrictAccess.removeGroup: post: tags: - Administrative - Conversations - Post description: Remove a linked IDP group linked from a private channel externalDocs: description: API method documentation url: >- https://api.slack.com/methods/admin.conversations.restrictAccess.removeGroup operationId: postAdminConversationsRestrictaccessRemovegroup requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_id - group_id - team_id - token type: object properties: token: type: string description: >- Authentication token. Requires scope: `admin.conversations:write` team_id: type: string description: >- The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. group_id: type: string description: >- The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to remove from the private channel. channel_id: type: string description: The channel to remove the linked group from. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:write summary: Slack Post Admin Conversations Restrictaccess Removegroup x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.search: get: tags: - Administrative - Conversations - Get - Search description: Search for public or private channels in an Enterprise organization. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.search operationId: getAdminConversationsSearch parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:read`' required: true schema: type: string - name: team_ids in: query description: >- Comma separated string of team IDs, signifying the workspaces to search through. schema: type: string - name: query in: query description: Name of the the channel to query by. schema: type: string - name: limit in: query description: >- Maximum number of items to be returned. Must be between 1 - 20 both inclusive. Default is 10. schema: type: integer - name: cursor in: query description: >- Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. schema: type: string - name: search_channel_types in: query description: >- The type of channel to include or exclude in the search. For example `private` will search private channels, while `private_exclude` will exclude them. For a full list of types, check the [Types section](#types). schema: type: string - name: sort in: query description: >- Possible values are `relevant` (search ranking based on what we think is closest), `name` (alphabetical), `member_count` (number of users in the channel), and `created` (date channel was created). You can optionally pair this with the `sort_dir` arg to change how it is sorted schema: type: string - name: sort_dir in: query description: >- Sort direction. Possible values are `asc` for ascending order like (1, 2, 3) or (a, b, c), and `desc` for descending order like (3, 2, 1) or (c, b, a) schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: admin.conversations.search schema required: - channels - next_cursor type: object properties: channels: type: array items: $ref: '#/components/schemas/objs_channel' next_cursor: type: string additionalProperties: false description: Schema for successful response of admin.conversations.search example: channels: - created: 1449252889 creator: U012A3CDE id: C012AB3CD is_archived: false is_channel: true is_ext_shared: false is_general: true is_group: false is_im: false is_member: true is_mpim: false is_org_shared: false is_pending_ext_shared: false is_private: false is_shared: false name: general name_normalized: general num_members: 4 pending_shared: [] previous_names: [] purpose: creator: '' last_set: 0 value: >- This channel is for team-wide communication and announcements. All team members are in this channel. topic: creator: '' last_set: 0 value: Company-wide announcements and work-based matters unlinked: 0 ok: true response_metadata: next_cursor: dGVhbTpDMDYxRkE1UEI= default: description: Typical error response content: application/json: schema: title: admin.conversations.search error schema required: - error - ok type: object properties: error: type: string enum: - feature_not_enabled - not_an_admin - not_an_enterprise - team_not_found - not_allowed - invalid_auth - invalid_cursor - invalid_search_channel_type - invalid_sort - invalid_sort_dir ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: Schema for error response from admin.conversations.search example: error: not_an_enterprise ok: false security: - slackAuth: - admin.conversations:read summary: Slack Get Admin Conversations Search x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.setConversationPrefs: post: tags: - Administrative - Conversations - Post description: Set the posting permissions for a public or private channel. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.setConversationPrefs operationId: postAdminConversationsSetconversationprefs parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_id - prefs type: object properties: channel_id: type: string description: The channel to set the prefs for prefs: type: string description: The prefs for this channel in a stringified JSON format. application/json: schema: required: - channel_id - prefs type: object properties: channel_id: type: string description: The channel to set the prefs for prefs: type: string description: The prefs for this channel in a stringified JSON format. required: true responses: '200': description: Typical success response content: application/json: schema: title: admin.conversations.setConversationPrefs schema required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: false description: >- Schema for successful response of admin.conversations.setConversationPrefs example: ok: true default: description: Typical error response content: application/json: schema: title: admin.conversations.setConversationPrefs error schema required: - error - ok type: object properties: error: type: string enum: - feature_not_enabled - not_an_admin - channel_not_found - channel_type_not_supported - restricted_action - missing_scope - could_not_set_channel_pref - default_org_wide_channel ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: >- Schema for error response from admin.conversations.setConversationPrefs example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:write summary: Slack Post Admin Conversations Setconversationprefs x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.setTeams: post: tags: - Administrative - Conversations - Post description: >- Set the workspaces in an Enterprise grid org that connect to a public or private channel. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.setTeams operationId: postAdminConversationsSetteams parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_id type: object properties: channel_id: type: string description: The encoded `channel_id` to add or remove to workspaces. team_id: type: string description: >- The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel. target_team_ids: type: string description: >- A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide. org_channel: type: boolean description: True if channel has to be converted to an org channel application/json: schema: required: - channel_id type: object properties: channel_id: type: string description: The encoded `channel_id` to add or remove to workspaces. team_id: type: string description: >- The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel. target_team_ids: type: string description: >- A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide. org_channel: type: boolean description: True if channel has to be converted to an org channel required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:write summary: Slack Post Admin Conversations Setteams x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.conversations.unarchive: post: tags: - Administrative - Conversations - Post - Unarchive description: Unarchive a public or private channel. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.conversations.unarchive operationId: postAdminConversationsUnarchive parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.conversations:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_id type: object properties: channel_id: type: string description: The channel to unarchive. application/json: schema: required: - channel_id type: object properties: channel_id: type: string description: The channel to unarchive. required: true responses: '200': description: Typical success response content: application/json: schema: title: admin.conversations.unarchive schema required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: false description: >- Schema for successful response of admin.conversations.unarchive example: ok: true default: description: Typical error response content: application/json: schema: title: admin.conversations.unarchive error schema required: - error - ok type: object properties: error: type: string enum: - feature_not_enabled - channel_not_found - channel_not_archived - channel_type_not_supported - restricted_action - could_not_unarchive_channel - default_org_wide_channel - missing_scope ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: false description: Schema for error response from admin.conversations.unarchive example: error: invalid_auth ok: false security: - slackAuth: - admin.conversations:write summary: Slack Post Admin Conversations Unarchive x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.emoji.add: post: tags: - Add - Administrative - Post description: Add an emoji. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.emoji.add operationId: postAdminEmojiAdd requestBody: content: application/x-www-form-urlencoded: schema: required: - name - token - url type: object properties: token: type: string description: 'Authentication token. Requires scope: `admin.teams:write`' name: type: string description: >- The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included. url: type: string description: >- The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Emoji Add x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.emoji.addAlias: post: tags: - Administrative - Post description: Add an emoji alias. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.emoji.addAlias operationId: postAdminEmojiAddalias requestBody: content: application/x-www-form-urlencoded: schema: required: - alias_for - name - token type: object properties: token: type: string description: 'Authentication token. Requires scope: `admin.teams:write`' name: type: string description: >- The name of the emoji to be aliased. Colons (`:myemoji:`) around the value are not required, although they may be included. alias_for: type: string description: The alias of the emoji. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Emoji Addalias x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.emoji.list: get: tags: - Administrative - Get - Lists description: List emoji for an Enterprise Grid organization. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.emoji.list operationId: getAdminEmojiList parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin.teams:read`' required: true schema: type: string - name: cursor in: query description: >- Set `cursor` to `next_cursor` returned by the previous call to list items in the next page schema: type: string - name: limit in: query description: >- The maximum number of items to return. Must be between 1 - 1000 both inclusive. schema: type: integer responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: cache_ts: '1575283387.000000' categories: - emoji_names: - grinning - grin - joy - etc etc ... name: Smileys & People categories_version: '5' emoji: black_square: alias:black_large_square bowtie: https://emoji.slack-edge.com/T9TK3CUKW/bowtie/f3ec6f2bb0.png cubimal_chick: >- https://emoji.slack-edge.com/T9TK3CUKW/cubimal_chick/85961c43d7.png dusty_stick: >- https://emoji.slack-edge.com/T9TK3CUKW/dusty_stick/6177a62312.png glitch_crab: >- https://emoji.slack-edge.com/T9TK3CUKW/glitch_crab/db049f1f9c.png piggy: https://emoji.slack-edge.com/T9TK3CUKW/piggy/b7762ee8cd.png pride: https://emoji.slack-edge.com/T9TK3CUKW/pride/56b1bd3388.png shipit: alias:squirrel simple_smile: apple: >- https://a.slack-edge.com/80588/img/emoji_2017_12_06/apple/simple_smile.png google: >- https://a.slack-edge.com/80588/img/emoji_2017_12_06/google/simple_smile.png slack: https://emoji.slack-edge.com/T9TK3CUKW/slack/7d462d2443.png slack_call: >- https://emoji.slack-edge.com/T9TK3CUKW/slack_call/b81fffd6dd.png squirrel: >- https://emoji.slack-edge.com/T9TK3CUKW/squirrel/465f40c0e0.png thumbsup_all: >- https://emoji.slack-edge.com/T9TK3CUKW/thumbsup_all/50096a1020.gif white_square: alias:white_large_square ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:read summary: Slack Get Admin Emoji List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.emoji.remove: post: tags: - Administrative - Post - Remove description: Remove an emoji across an Enterprise Grid organization externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.emoji.remove operationId: postAdminEmojiRemove requestBody: content: application/x-www-form-urlencoded: schema: required: - name - token type: object properties: token: type: string description: 'Authentication token. Requires scope: `admin.teams:write`' name: type: string description: >- The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Emoji Remove x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.emoji.rename: post: tags: - Administrative - Post - Rename description: Rename an emoji. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.emoji.rename operationId: postAdminEmojiRename requestBody: content: application/x-www-form-urlencoded: schema: required: - name - new_name - token type: object properties: token: type: string description: 'Authentication token. Requires scope: `admin.teams:write`' name: type: string description: >- The name of the emoji to be renamed. Colons (`:myemoji:`) around the value are not required, although they may be included. new_name: type: string description: The new name of the emoji. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Emoji Rename x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.inviteRequests.approve: post: tags: - Administrative - Approve - Post description: Approve a workspace invite request. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.inviteRequests.approve operationId: postAdminInviterequestsApprove parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.invites:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - invite_request_id type: object properties: team_id: type: string description: ID for the workspace where the invite request was made. invite_request_id: type: string description: ID of the request to invite. application/json: schema: required: - invite_request_id type: object properties: team_id: type: string description: ID for the workspace where the invite request was made. invite_request_id: type: string description: ID of the request to invite. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.invites:write summary: Slack Post Admin Inviterequests Approve x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.inviteRequests.approved.list: get: tags: - Administrative - Approved - Get - Lists description: List all approved workspace invite requests. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.inviteRequests.approved.list operationId: getAdminInviterequestsApprovedList parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.invites:read`' required: true schema: type: string - name: team_id in: query description: ID for the workspace where the invite requests were made. schema: type: string - name: cursor in: query description: >- Value of the `next_cursor` field sent as part of the previous API response schema: type: string - name: limit in: query description: >- The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive schema: type: integer responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.invites:read summary: Slack Get Admin Inviterequests Approved List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.inviteRequests.denied.list: get: tags: - Administrative - Get - Lists description: List all denied workspace invite requests. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.inviteRequests.denied.list operationId: getAdminInviterequestsDeniedList parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.invites:read`' required: true schema: type: string - name: team_id in: query description: ID for the workspace where the invite requests were made. schema: type: string - name: cursor in: query description: >- Value of the `next_cursor` field sent as part of the previous api response schema: type: string - name: limit in: query description: >- The number of results that will be returned by the API on each invocation. Must be between 1 - 1000 both inclusive schema: type: integer responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.invites:read summary: Slack Get Admin Inviterequests Denied List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.inviteRequests.deny: post: tags: - Administrative - Deny - Post description: Deny a workspace invite request. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.inviteRequests.deny operationId: postAdminInviterequestsDeny parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.invites:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - invite_request_id type: object properties: team_id: type: string description: ID for the workspace where the invite request was made. invite_request_id: type: string description: ID of the request to invite. application/json: schema: required: - invite_request_id type: object properties: team_id: type: string description: ID for the workspace where the invite request was made. invite_request_id: type: string description: ID of the request to invite. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.invites:write summary: Slack Post Admin Inviterequests Deny x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.inviteRequests.list: get: tags: - Administrative - Get - Lists description: List all pending workspace invite requests. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.inviteRequests.list operationId: getAdminInviterequestsList parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.invites:read`' required: true schema: type: string - name: team_id in: query description: ID for the workspace where the invite requests were made. schema: type: string - name: cursor in: query description: >- Value of the `next_cursor` field sent as part of the previous API response schema: type: string - name: limit in: query description: >- The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive schema: type: integer responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.invites:read summary: Slack Get Admin Inviterequests List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.admins.list: get: tags: - Administrative - Get - Lists - Teams description: List all of the admins on a given workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.admins.list operationId: getAdminTeamsAdminsList parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin.teams:read`' required: true schema: type: string - name: limit in: query description: The maximum number of items to return. schema: type: integer - name: cursor in: query description: >- Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. schema: type: string - name: team_id in: query required: true schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: admin_ids: - U1234 ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:read summary: Slack Get Admin Teams Admins List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.create: post: tags: - Administrative - Create - Post - Teams description: Create an Enterprise team. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.create operationId: postAdminTeamsCreate parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - team_domain - team_name type: object properties: team_domain: type: string description: Team domain (for example, slacksoftballteam). team_name: type: string description: Team name (for example, Slack Softball Team). team_description: type: string description: Description for the team. team_discoverability: type: string description: >- Who can join the team. A team's discoverability can be `open`, `closed`, `invite_only`, or `unlisted`. application/json: schema: required: - team_domain - team_name type: object properties: team_domain: type: string description: Team domain (for example, slacksoftballteam). team_name: type: string description: Team name (for example, Slack Softball Team). team_description: type: string description: Description for the team. team_discoverability: type: string description: >- Who can join the team. A team's discoverability can be `open`, `closed`, `invite_only`, or `unlisted`. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true team: T12345 default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Teams Create x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.list: get: tags: - Administrative - Get - Lists - Teams description: List all teams on an Enterprise organization externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.list operationId: getAdminTeamsList parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:read`' required: true schema: type: string - name: limit in: query description: >- The maximum number of items to return. Must be between 1 - 100 both inclusive. schema: type: integer - name: cursor in: query description: >- Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true teams: - discoverability: hidden id: T1234 name: My Team primary_owner: email: bront@slack.com user_id: W1234 team_url: https://subarachnoid.slack.com/ default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:read summary: Slack Get Admin Teams List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.owners.list: get: tags: - Administrative - Get - Lists - Owners - Teams description: List all of the owners on a given workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.owners.list operationId: getAdminTeamsOwnersList parameters: - name: token in: query description: 'Authentication token. Requires scope: `admin.teams:read`' required: true schema: type: string - name: team_id in: query required: true schema: type: string - name: limit in: query description: >- The maximum number of items to return. Must be between 1 - 1000 both inclusive. schema: type: integer - name: cursor in: query description: >- Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true owner_ids: - U1234 default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:read summary: Slack Get Admin Teams Owners List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.settings.info: get: tags: - Administrative - Get - Info - Settings - Teams description: Fetch information about settings in a workspace externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.settings.info operationId: getAdminTeamsSettingsInfo parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:read`' required: true schema: type: string - name: team_id in: query required: true schema: type: string responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true team: default_channels: array domain: string email_domain: string enterprise_id: string enterprise_name: string icon: array id: string name: string default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:read summary: Slack Get Admin Teams Settings Info x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.settings.setDefaultChannels: post: tags: - Administrative - Post - Settings - Teams description: Set the default channels of a workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.settings.setDefaultChannels operationId: postAdminTeamsSettingsSetdefaultchannels requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_ids - team_id - token type: object properties: token: type: string description: 'Authentication token. Requires scope: `admin.teams:write`' team_id: type: string description: ID for the workspace to set the default channel for. channel_ids: type: string description: An array of channel IDs. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Teams Settings Setdefaultchannels x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.settings.setDescription: post: tags: - Administrative - Post - Settings - Teams description: Set the description of a given workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.settings.setDescription operationId: postAdminTeamsSettingsSetdescription parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - description - team_id type: object properties: team_id: type: string description: ID for the workspace to set the description for. description: type: string description: The new description for the workspace. application/json: schema: required: - description - team_id type: object properties: team_id: type: string description: ID for the workspace to set the description for. description: type: string description: The new description for the workspace. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Teams Settings Setdescription x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.settings.setDiscoverability: post: tags: - Administrative - Post - Settings - Teams description: >- An API method that allows admins to set the discoverability of a given workspace externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.settings.setDiscoverability operationId: postAdminTeamsSettingsSetdiscoverability parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - discoverability - team_id type: object properties: team_id: type: string description: The ID of the workspace to set discoverability on. discoverability: type: string description: >- This workspace's discovery setting. It must be set to one of `open`, `invite_only`, `closed`, or `unlisted`. application/json: schema: required: - discoverability - team_id type: object properties: team_id: type: string description: The ID of the workspace to set discoverability on. discoverability: type: string description: >- This workspace's discovery setting. It must be set to one of `open`, `invite_only`, `closed`, or `unlisted`. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Teams Settings Setdiscoverability x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.settings.setIcon: post: tags: - Administrative - Post - Settings - Teams description: Sets the icon of a workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.settings.setIcon operationId: postAdminTeamsSettingsSeticon requestBody: content: application/x-www-form-urlencoded: schema: required: - image_url - team_id - token type: object properties: token: type: string description: 'Authentication token. Requires scope: `admin.teams:write`' image_url: type: string description: Image URL for the icon team_id: type: string description: ID for the workspace to set the icon for. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Teams Settings Seticon x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.teams.settings.setName: post: tags: - Administrative - Post - Settings - Teams description: Set the name of a given workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.teams.settings.setName operationId: postAdminTeamsSettingsSetname parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - name - team_id type: object properties: team_id: type: string description: ID for the workspace to set the name for. name: type: string description: The new name of the workspace. application/json: schema: required: - name - team_id type: object properties: team_id: type: string description: ID for the workspace to set the name for. name: type: string description: The new name of the workspace. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Teams Settings Setname x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.usergroups.addChannels: post: tags: - Administrative - Post description: Add one or more default channels to an IDP group. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.usergroups.addChannels operationId: postAdminUsergroupsAddchannels parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.usergroups:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_ids - usergroup_id type: object properties: usergroup_id: type: string description: ID of the IDP group to add default channels for. team_id: type: string description: The workspace to add default channels in. channel_ids: type: string description: Comma separated string of channel IDs. application/json: schema: required: - channel_ids - usergroup_id type: object properties: usergroup_id: type: string description: ID of the IDP group to add default channels for. team_id: type: string description: The workspace to add default channels in. channel_ids: type: string description: Comma separated string of channel IDs. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: >- Typical error response if the token provided is not associated with an Org Admin or Owner content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: not_an_admin ok: false security: - slackAuth: - admin.usergroups:write summary: Slack Post Admin Usergroups Addchannels x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.usergroups.addTeams: post: tags: - Administrative - Post description: >- Associate one or more default workspaces with an organization-wide IDP group. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.usergroups.addTeams operationId: postAdminUsergroupsAddteams parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.teams:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - team_ids - usergroup_id type: object properties: usergroup_id: type: string description: An encoded usergroup (IDP Group) ID. team_ids: type: string description: >- A comma separated list of encoded team (workspace) IDs. Each workspace *MUST* belong to the organization associated with the token. auto_provision: type: boolean description: >- When `true`, this method automatically creates new workspace accounts for the IDP group members. application/json: schema: required: - team_ids - usergroup_id type: object properties: usergroup_id: type: string description: An encoded usergroup (IDP Group) ID. team_ids: type: string description: >- A comma separated list of encoded team (workspace) IDs. Each workspace *MUST* belong to the organization associated with the token. auto_provision: type: boolean description: >- When `true`, this method automatically creates new workspace accounts for the IDP group members. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.teams:write summary: Slack Post Admin Usergroups Addteams x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.usergroups.listChannels: get: tags: - Administrative - Get description: List the channels linked to an org-level IDP group (user group). externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.usergroups.listChannels operationId: getAdminUsergroupsListchannels parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.usergroups:read`' required: true schema: type: string - name: usergroup_id in: query description: ID of the IDP group to list default channels for. required: true schema: type: string - name: team_id in: query description: ID of the the workspace. schema: type: string - name: include_num_members in: query description: Flag to include or exclude the count of members per channel. schema: type: boolean responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: channels: - id: C024BE91L name: fun num_members: 34 team_id: T024BE911 - id: C024BE91K name: more fun team_id: T024BE912 - id: C024BE91M is_redacted: true name: public-channel num_members: 34 team_id: T024BE911 - id: C024BE91N name: some more fun team_id: T024BE921 ok: true default: description: >- Typical error response if the token provided is not associated with an Org Admin or Owner content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: not_an_admin ok: false security: - slackAuth: - admin.usergroups:read summary: Slack Get Admin Usergroups Listchannels x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.usergroups.removeChannels: post: tags: - Administrative - Post description: >- Remove one or more default channels from an org-level IDP group (user group). externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.usergroups.removeChannels operationId: postAdminUsergroupsRemovechannels parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.usergroups:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_ids - usergroup_id type: object properties: usergroup_id: type: string description: ID of the IDP Group channel_ids: type: string description: Comma-separated string of channel IDs application/json: schema: required: - channel_ids - usergroup_id type: object properties: usergroup_id: type: string description: ID of the IDP Group channel_ids: type: string description: Comma-separated string of channel IDs required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: >- Typical error response if the token provided is not associated with an Org Admin or Owner content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: not_an_admin ok: false security: - slackAuth: - admin.usergroups:write summary: Slack Post Admin Usergroups Removechannels x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.users.assign: post: tags: - Administrative - Assign - Post - Users description: Add an Enterprise user to a workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.users.assign operationId: postAdminUsersAssign parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.users:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - team_id - user_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. user_id: type: string description: The ID of the user to add to the workspace. is_restricted: type: boolean description: True if user should be added to the workspace as a guest. is_ultra_restricted: type: boolean description: >- True if user should be added to the workspace as a single-channel guest. channel_ids: type: string description: >- Comma separated values of channel IDs to add user in the new workspace. application/json: schema: required: - team_id - user_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. user_id: type: string description: The ID of the user to add to the workspace. is_restricted: type: boolean description: True if user should be added to the workspace as a guest. is_ultra_restricted: type: boolean description: >- True if user should be added to the workspace as a single-channel guest. channel_ids: type: string description: >- Comma separated values of channel IDs to add user in the new workspace. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.users:write summary: Slack Post Admin Users Assign x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.users.invite: post: tags: - Administrative - Invites - Post - Users description: Invite a user to a workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.users.invite operationId: postAdminUsersInvite parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.users:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - channel_ids - email - team_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. email: type: string description: The email address of the person to invite. channel_ids: type: string description: >- A comma-separated list of `channel_id`s for this user to join. At least one channel is required. custom_message: type: string description: An optional message to send to the user in the invite email. real_name: type: string description: Full name of the user. resend: type: boolean description: >- Allow this invite to be resent in the future if a user has not signed up yet. (default: false) is_restricted: type: boolean description: 'Is this user a multi-channel guest user? (default: false)' is_ultra_restricted: type: boolean description: 'Is this user a single channel guest user? (default: false)' guest_expiration_ts: type: string description: >- Timestamp when guest account should be disabled. Only include this timestamp if you are inviting a guest user and you want their account to expire on a certain date. application/json: schema: required: - channel_ids - email - team_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. email: type: string description: The email address of the person to invite. channel_ids: type: string description: >- A comma-separated list of `channel_id`s for this user to join. At least one channel is required. custom_message: type: string description: An optional message to send to the user in the invite email. real_name: type: string description: Full name of the user. resend: type: boolean description: >- Allow this invite to be resent in the future if a user has not signed up yet. (default: false) is_restricted: type: boolean description: 'Is this user a multi-channel guest user? (default: false)' is_ultra_restricted: type: boolean description: 'Is this user a single channel guest user? (default: false)' guest_expiration_ts: type: string description: >- Timestamp when guest account should be disabled. Only include this timestamp if you are inviting a guest user and you want their account to expire on a certain date. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.users:write summary: Slack Post Admin Users Invite x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.users.list: get: tags: - Administrative - Get - Lists - Users description: List users on a workspace externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.users.list operationId: getAdminUsersList parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.users:read`' required: true schema: type: string - name: team_id in: query description: The ID (`T1234`) of the workspace. required: true schema: type: string - name: cursor in: query description: >- Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. schema: type: string - name: limit in: query description: Limit for how many users to be retrieved per page schema: type: integer responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true users: - email: bront@slack.com id: T1234 is_admin: false is_bot: false is_owner: false is_primary_owner: false is_restricted: false is_ultra_restricted: false default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.users:read summary: Slack Get Admin Users List x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.users.remove: post: tags: - Administrative - Post - Remove - Users description: Remove a user from a workspace. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.users.remove operationId: postAdminUsersRemove parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.users:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - team_id - user_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. user_id: type: string description: The ID of the user to remove. application/json: schema: required: - team_id - user_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. user_id: type: string description: The ID of the user to remove. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.users:write summary: Slack Post Admin Users Remove x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.users.session.invalidate: post: tags: - Administrative - Invalidate - Post - Sessions - Users description: Invalidate a single session for a user by session_id externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.users.session.invalidate operationId: postAdminUsersSessionInvalidate parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.users:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - session_id - team_id type: object properties: team_id: type: string description: ID of the team that the session belongs to session_id: type: integer format: int32 application/json: schema: required: - session_id - team_id type: object properties: team_id: type: string description: ID of the team that the session belongs to session_id: type: integer format: int32 required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.users:write summary: Slack Post Admin Users Session Invalidate x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.users.session.reset: post: tags: - Administrative - Post - Reset - Sessions - Users description: Wipes all valid sessions on all devices for a given user externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.users.session.reset operationId: postAdminUsersSessionReset parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.users:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - user_id type: object properties: user_id: type: string description: The ID of the user to wipe sessions for mobile_only: type: boolean description: 'Only expire mobile sessions (default: false)' web_only: type: boolean description: 'Only expire web sessions (default: false)' application/json: schema: required: - user_id type: object properties: user_id: type: string description: The ID of the user to wipe sessions for mobile_only: type: boolean description: 'Only expire mobile sessions (default: false)' web_only: type: boolean description: 'Only expire web sessions (default: false)' required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.users:write summary: Slack Post Admin Users Session Reset x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.users.setAdmin: post: tags: - Administrative - Post - Users description: Set an existing guest, regular user, or owner to be an admin user. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.users.setAdmin operationId: postAdminUsersSetadmin parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.users:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - team_id - user_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. user_id: type: string description: The ID of the user to designate as an admin. application/json: schema: required: - team_id - user_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. user_id: type: string description: The ID of the user to designate as an admin. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.users:write summary: Slack Post Admin Users Setadmin x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.users.setExpiration: post: tags: - Administrative - Post - Users description: Set an expiration for a guest user externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.users.setExpiration operationId: postAdminUsersSetexpiration parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.users:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - expiration_ts - team_id - user_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. user_id: type: string description: The ID of the user to set an expiration for. expiration_ts: type: integer description: Timestamp when guest account should be disabled. format: int32 application/json: schema: required: - expiration_ts - team_id - user_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. user_id: type: string description: The ID of the user to set an expiration for. expiration_ts: type: integer description: Timestamp when guest account should be disabled. format: int32 required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.users:write summary: Slack Post Admin Users Setexpiration x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.users.setOwner: post: tags: - Administrative - Post - Users description: >- Set an existing guest, regular user, or admin user to be a workspace owner. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.users.setOwner operationId: postAdminUsersSetowner parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.users:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - team_id - user_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. user_id: type: string description: Id of the user to promote to owner. application/json: schema: required: - team_id - user_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. user_id: type: string description: Id of the user to promote to owner. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.users:write summary: Slack Post Admin Users Setowner x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /admin.users.setRegular: post: tags: - Administrative - Post - Users description: Set an existing guest user, admin user, or owner to be a regular user. externalDocs: description: API method documentation url: https://api.slack.com/methods/admin.users.setRegular operationId: postAdminUsersSetregular parameters: - name: token in: header description: 'Authentication token. Requires scope: `admin.users:write`' required: true schema: type: string requestBody: content: application/x-www-form-urlencoded: schema: required: - team_id - user_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. user_id: type: string description: The ID of the user to designate as a regular user. application/json: schema: required: - team_id - user_id type: object properties: team_id: type: string description: The ID (`T1234`) of the workspace. user_id: type: string description: The ID of the user to designate as a regular user. required: true responses: '200': description: Typical success response content: application/json: schema: title: Default success template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_true' additionalProperties: true description: >- This method either only returns a brief _OK_ response or a verbose schema is not available for this method. example: ok: true default: description: Typical error response content: application/json: schema: title: Default error template required: - ok type: object properties: ok: $ref: '#/components/schemas/defs_ok_false' additionalProperties: true description: >- This method either only returns a brief _not OK_ response or a verbose schema is not available for this method. example: error: invalid_auth ok: false security: - slackAuth: - admin.users:write summary: Slack Post Admin Users Setregular x-api-evangelist-processing: GenerateOperationSummariesFromPath: true PascalCaseOperationSummaries: true CaselCaseOperationIds: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: {} tags: - name: Add - name: Administrative - name: Applications - name: Approve - name: Approved - name: Archive - name: Assign - name: Conversations - name: Create - name: Deletes - name: Deny - name: Get - name: Info - name: Invalidate - name: Invites - name: Lists - name: Owners - name: Post - name: Remove - name: Rename - name: Requests - name: Reset - name: Restrict - name: Restricted - name: Search - name: Sessions - name: Settings - name: Teams - name: Unarchive - name: Users