Skip to main content

Renew invitation

PATCH 

/unit/invitation/:invitationId

Renews the invitation specified by the invitation ID.

Request

Path Parameters

    invitationId stringrequired

    The invitation ID.

    Example: 867c0ba0-5a53-475b-8194-1f565f6ec197

Query Parameters

    autoSend boolean

    Whether to automatically send the invitation ID by email. If you set it to true, you also need to configure the inviteLink parameter to include the invitation ID in the invitation link. If you set it to false, you can send the invitation ID to the invitee through any means that suits your needs.

    inviteLink string

    The invitation link. The default value is "https://zbyte.com/acceptInvitation/${invitationId}", where ${invitationId} is a placeholder that will be automatically replaced with the invitation ID upon the invitation email sending. You can place ${invitationId} in any part of the URL. This parameter is required only when the autoSend parameter is set to true.

    Example: https://www.example.com/user/create?ref=${invitationId}

Body

required

    object

Responses

OK

Schema

    code int32

    The response code.

    data object

    The wrapped responding data.

    msg string

    The response message.

Loading...