{ "opencollection": "1.0.0", "info": { "name": "Greenly Carbon Analytics alternatives users API", "version": "1.5" }, "items": [ { "info": { "name": "users", "type": "folder" }, "items": [ { "info": { "name": "Create user", "type": "http" }, "http": { "method": "POST", "url": "https://api.greenly.earth/v1.5/users/createUser" }, "docs": "Create a user." }, { "info": { "name": "Get user", "type": "http" }, "http": { "method": "GET", "url": "https://api.greenly.earth/v1.5/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Retrieve user default tag values applied to all user transactions." }, { "info": { "name": "Update user", "type": "http" }, "http": { "method": "PUT", "url": "https://api.greenly.earth/v1.5/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a user with new default tag values. All previous tag values are replaced (the two objects are not merged) so you\nmust provide all tag values that apply to the user during each call." }, { "info": { "name": "Delete user", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.greenly.earth/v1.5/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Delete a user and all associated data. Warning: this operation is irreversible." } ] } ], "bundled": true }