Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -X PUT \
- -H "X-Parse-Application-Id: <span class="application_id">yourApplicationId</span>" \
- -H "X-Parse-Master-Key: <span class="master_key">yourXParseMasterKey</span>" \
- -H "Content-Type: application/json" \
- -d '{
- "users": {
- "__op": "AddRelation",
- "objects": [{
- "__type": "Pointer",
- "className": "_User",
- "objectId": "yourUserId"
- }, {
- "__type": "Pointer",
- "className": "_User",
- "objectId": "yourUserId"
- }]
- }
- }' \
- https://api.parse.com/1/roles/roleId
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement