Advertisement
Guest User

Untitled

a guest
Apr 7th, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. curl -X PUT \
  2. -H "X-Parse-Application-Id: <span class="application_id">yourApplicationId</span>" \
  3. -H "X-Parse-Master-Key: <span class="master_key">yourXParseMasterKey</span>" \
  4. -H "Content-Type: application/json" \
  5. -d '{
  6.      "users": {
  7. "__op": "AddRelation",
  8.         "objects": [{
  9. "__type": "Pointer",
  10. "className": "_User",
  11. "objectId": "yourUserId"
  12. }, {
  13. "__type": "Pointer",
  14. "className": "_User",
  15. "objectId": "yourUserId"
  16. }]
  17. }
  18. }' \
  19. https://api.parse.com/1/roles/roleId
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement