mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 04:19:37 +00:00
2.3 KiB
2.3 KiB
CreateInviteRequest
Example Usage
import { CreateInviteRequest } from "@lukehagar/discoursejs/sdk/models/operations";
let value: CreateInviteRequest = {
apiKey: "<value>",
apiUsername: "<value>",
requestBody: {
email: "not-a-user-yet@example.com",
groupIds: "42,43",
groupNames: "foo,bar",
maxRedemptionsAllowed: 5,
},
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
apiKey |
string | ✔️ | N/A |
apiUsername |
string | ✔️ | N/A |
requestBody |
operations.CreateInviteRequestBody | ➖ | N/A |