slackapi / slack-api-specs

Open API specifications for platform products by Slack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing email_password_policy_enabled in admin.users.invite parameters

Shivoham opened this issue · comments

Description

Description of the endpoint admin.users.invite does not mention the existence of the email_password_policy_enabled parameter, which is actually documented in the API.

Possible solution

        "/admin.users.invite": {
            "post": {
                "consumes": [
                    "application/x-www-form-urlencoded",
                    "application/json"
                ],
                "description": "Invite a user to a workspace.",
                "externalDocs": {
                    "description": "API method documentation",
                    "url": "https://api.slack.com/methods/admin.users.invite"
                },
                "operationId": "admin_users_invite",
                "parameters": [
                   # ...
                   # existing parameters
                   # ...
                   {
                        "description": "Allow invited user to sign in via email and password. Only available for Enterprise Grid teams via admin invite.",
                        "in": "formData",
                        "name": "email_password_policy_enabled",
                        "type": "boolean"
                    },

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • testing related
  • discussion

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.