Leaves the current identity's party.
Use a bare-bones client and the command you need to make an API call.
import { PartyServiceClient, LeavePartyCommand } from "@rivet-gg/party"; // ES Modules import // const { PartyServiceClient, LeavePartyCommand } = require("@rivet-gg/party"); // CommonJS import const client = new PartyServiceClient(config); const command = new LeavePartyCommand(input); const response = await client.send(command);
LeavePartyCommandInput for command's input shape.
input
LeavePartyCommandOutput for command's response shape.
response
config for PartyServiceClient's config shape.
config
Leaves the current identity's party.
Use a bare-bones client and the command you need to make an API call.
import { PartyServiceClient, LeavePartyCommand } from "@rivet-gg/party"; // ES Modules import // const { PartyServiceClient, LeavePartyCommand } = require("@rivet-gg/party"); // CommonJS import const client = new PartyServiceClient(config); const command = new LeavePartyCommand(input); const response = await client.send(command);LeavePartyCommandInput for command's
inputshape.LeavePartyCommandOutput for command's
responseshape.config for PartyServiceClient's
configshape.