Sign in

Lock a thread

documented

Lock a submission to prevent new comments.

POST /api/lockModerationno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://oauth.reddit.com/api/lock" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -H "Accept: application/json" \
  -d "id={{$fullname}}"
Lock a thread · Reddit · OpenIntegrations