New docs? Check out the change log to learn more!
curl --request PUT \
--url https://discord.com/api/v10/invites/{code}/target-users \
--header 'Authorization: <api-key>' \
--header 'Content-Type: multipart/form-data' \
--form 'target_users_file=<string>'{
"code": 123,
"message": "<string>",
"retry_after": 123,
"global": true
}Update the target users for an existing invite.
curl --request PUT \
--url https://discord.com/api/v10/invites/{code}/target-users \
--header 'Authorization: <api-key>' \
--header 'Content-Type: multipart/form-data' \
--form 'target_users_file=<string>'{
"code": 123,
"message": "<string>",
"retry_after": 123,
"global": true
}