Skip to content

Instantly share code, notes, and snippets.

@brownsoo
Created March 28, 2018 06:29
Show Gist options
  • Save brownsoo/75a6c41afe52c69dda4fe44d95b6816b to your computer and use it in GitHub Desktop.
Save brownsoo/75a6c41afe52c69dda4fe44d95b6816b to your computer and use it in GitHub Desktop.
Change name of cocoapod owner
// find email, password (Token)
grep -A2 'trunk.cocoapods.org' ~/.netrc
// replace email and name
curl -v -H "Authorization: Token <MY CURRENT TOKEN>" -H "Content-Type: application/json" -X POST -d '{"email":"<MY EMAIL>","name":"<MY NEW NAME>","description":"<My DESCRIPTION>"}' https://trunk.cocoapods.org/api/v1/sessions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment