Skip to content

New(?) undocumented method to resend an invitation #586

@manuelmeurer

Description

@manuelmeurer

I used to use users_admin_invite with the "resend" param to resend an invitation to a user when the original invitation was expired.
This seems to trigger the "already_in_team_invited_user" error now.

From watching the requests when resending an invite via the https://myworkspace.slack.com/admin/invites I noticed a new(?) endpoint "users.admin.resendInvitation":

URL: https://myworkspace.slack.com/api/users.admin.resendInvitation
Form Data:
token: xoxc-...
invite_id: 1234
_x_reason: admin-invite-actions
_x_mode: online

Can we add this to lib/slack/web/api/endpoints/users_admin.rb ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions