Skip to content

Instantly share code, notes, and snippets.

@vocolboy
Last active March 12, 2019 15:08
Show Gist options
  • Save vocolboy/36ddd652816c9c8f215996ce6e5a6c88 to your computer and use it in GitHub Desktop.
Save vocolboy/36ddd652816c9c8f215996ce6e5a6c88 to your computer and use it in GitHub Desktop.
Remove yourself from a shared document in dropbox paper | 主動離開dropbox paper共享文件
  1. Go to curret paper
  2. Open your "Chrome debug tool" via Netwrok tab
  3. Click right top button "Invite"
  4. You should see an request called "mark-user-active"
  5. Find Params and replace to curl command

Replace Below Params and WE FINALLY LEFT!!

$COOKIE
$NOTES_PAD_ID
$NOTES_TAB_ID 
$YOUR_SELF_ID = x-notes-user-id
$XSRF
curl -X POST \
  https://paper.dropbox.com/ep/pad/invite/removeuser \
  -H 'content-type: application/x-www-form-urlencoded; charset=UTF-8' \
  -H 'cookie: {$COOKIE}' \
  -H 'notes-pad-id: {$NOTES_PAD_ID}' \
  -H 'notes-tab-id: {$NOTES_TAB_ID}' \
  -H 'x-notes-user-id: {$YOUR_SELF_ID}' \
  -d 'padId=KzVccrnuncGDYACwh38tp&secureUserId={$YOUR_SELF_ID}&xsrf={$XSRF}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment