Skip to main content
POST
/
v1
/
console
/
attempts
/
revoke
/
bulk
Revoke Attempts Bulk
curl --request POST \
  --url http://localhost:8000/v1/console/attempts/revoke/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 123,
  "case_study_id": "<string>",
  "reason": "<string>",
  "user_ids": [
    "<string>"
  ],
  "dry_run": false,
  "idempotency_key": "<string>"
}
'
{
  "data": {
    "dry_run": true,
    "job_id": "<string>",
    "job_type": "<string>",
    "total_rows": 123
  },
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Body

application/json
amount
integer
required
case_study_id
string
required
reason
string
required
Required string length: 1 - 1000
user_ids
string[]
required
Required array length: 1 - 500 elements
dry_run
boolean
default:false
idempotency_key
string | null

Response

Successful Response

data
BulkJobResponse · object
message
string | null
success
boolean
default:true