Navigation

Kick a challenge device

Kick an attached device for an existing challenge. Supply the unique challenge ID from the Rupt SDK onChallenge callback. Supply the unique device ID from the list of devices for the challenge.

Parameters


device string REQUIRED

The ID of the device to kick.


Returns


Returns a success message.
POST /v2/challenges/:id/kick
await Rupt.kickChallengeDevice({
  challenge: "CHALLENGE_ID",
  device: "DEVICE_ID",
});
Response
{
  "success": true
}