{ "opencollection": "1.0.0", "info": { "name": "Marketo Engage Rest API", "version": "1.0" }, "items": [ { "info": { "name": "User Management", "type": "folder" }, "items": [ { "info": { "name": "Get Users", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/userservice/management/v1/users/allusers.json", "params": [ { "name": "pageOffset", "value": "", "type": "query", "description": "Integer offset for paging. Default is 0" }, { "name": "pageSize", "value": "", "type": "query", "description": "Maximum number of users to return. Max 200, default 20" } ] }, "docs": "Retrieve a list of all user records. Required Permissions: Access User Management Api and Access Users" }, { "info": { "name": "Invite User", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/userservice/management/v1/users/invite.json" }, "docs": "Send an email invitation to new user. Required Permissions: Access User Management Api and Access Users" }, { "info": { "name": "Get Roles", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/userservice/management/v1/users/roles.json" }, "docs": "Retrieve list of all role records. Required Permissions: Access User Management Api and Access Users" }, { "info": { "name": "Get Workspaces", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/userservice/management/v1/users/workspaces.json" }, "docs": "Retrieve list of workspace records. Required Permissions: Access User Management Api and Access Users" }, { "info": { "name": "Delete User", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/userservice/management/v1/users/:userid/delete.json", "params": [ { "name": "userid", "value": "", "type": "path", "description": "User id in the form of an email address" } ] }, "docs": "Delete user. Required Permissions: Access User Management Api and Access Users" }, { "info": { "name": "Delete Invited User", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/userservice/management/v1/users/:userid/invite/delete.json", "params": [ { "name": "userid", "value": "", "type": "path", "description": "User id in the form of an email address" } ] }, "docs": "Delete pending user. A pending user is a user that has not yet accepted invitation. Required Permissions: Access User Management Api and Access Users" }, { "info": { "name": "Update User Attributes", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/userservice/management/v1/users/:userid/update.json", "params": [ { "name": "userid", "value": "", "type": "path", "description": "User id in the form of an email address" } ] }, "docs": "Update one or more user attributes. Required Permissions: Access User Management Api and Access Users" }, { "info": { "name": "Get Roles and Workspaces by Id", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/userservice/management/v1/users/:userid/roles.json", "params": [ { "name": "userid", "value": "", "type": "path", "description": "User id in the form of an email address" } ] }, "docs": "Get roles and workspaces for a given user. Required Permissions: Access User Management Api and Access Users" }, { "info": { "name": "Add Roles", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/userservice/management/v1/users/:userid/roles/create.json", "params": [ { "name": "userid", "value": "", "type": "path", "description": "User id in the form of an email address" } ] }, "docs": "Add roles to a user. Required Permissions: Access User Management Api and Access Users" }, { "info": { "name": "Delete Roles", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/userservice/management/v1/users/:userid/roles/delete.json", "params": [ { "name": "userid", "value": "", "type": "path", "description": "User id in the form of an email address" } ] }, "docs": "Delete roles from user. Required Permissions: Access User Management Api and Access Users" }, { "info": { "name": "Get User by Id", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/userservice/management/v1/users/:userid/user.json", "params": [ { "name": "userid", "value": "", "type": "path", "description": "User id in the form of an email address" } ] }, "docs": "Retrieve a single user record through its Id. Required Permissions: Access User Management Api and Access Users" }, { "info": { "name": "Get Invited User by Id", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/userservice/management/v1/users/:userid/invite.json", "params": [ { "name": "userid", "value": "", "type": "path", "description": "User id in the form of an email address" } ] }, "docs": "Retrieve a single pending user record through its Id. A pending user is a user that has not yet accepted invitation. Required Permissions: Access User Management Api and Access Users" } ] } ], "bundled": true }