/v1/workspaces/{workspace_uid}/invitations/{invitation_uid}/resendEmails a pending invitation again with a new link. The previous link stops working, and the invitation's expiry is reset to 72 hours from now. No request body is needed.
Requires the owner or admin role.
Authentication
Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.
Path parameters
workspace_uidstringRequiredThe workspace's uid. When the route also takes X-Workspace-Slug, both must name the same workspace.
invitation_uidstringRequiredThe invitation's uid.
Headers
X-Workspace-SlugstringRequiredSlug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.
Response
The invitation was resent.
successbooleanRequiredtrue when the request succeeded.
messagestringRequiredHuman-readable status message.
dataobjectShow attributesHide attributes
uidstringRequiredUnique identifier of the invitation.
emailstringRequiredThe invited email address, lower-cased.
rolestringRequiredRole the invitee gets when they accept.
One ofadmindeveloperviewer
statusstringRequiredInvitation status.
One ofpendingacceptedrevokedexpired
created_atstring (date-time)RequiredWhen the invitation was created.
expires_atstring (date-time)RequiredWhen the invitation link stops working.
invited_byobjectWho sent the invitation.
Show attributesHide attributes
uidstringRequiredThe user's ID.
usernamestringRequiredThe user's username.
Errors
| Status | Meaning |
|---|---|
400 | The request was malformed or failed validation. |
401 | The API key is missing, invalid, expired or revoked. |
403 | You cannot access the workspace, your role does not allow this action, or the account is suspended. |
404 | No invitation with this uid in the workspace (invitation not found). |
409 | The invitation was already accepted, revoked or marked expired (invitation is no longer pending). |
429 | Rate limit exceeded. Wait the number of seconds in the Retry-After header before retrying. |
Errors use the standard error format.