{"id":13691056,"url":"https://github.com/SoftwareAG/webmethods-io-integration-apicli","last_synced_at":"2025-05-02T11:32:05.447Z","repository":{"id":47764372,"uuid":"446963283","full_name":"SoftwareAG/webmethods-io-integration-apicli","owner":"SoftwareAG","description":"webMethods.io integration Public APIs CLI tool","archived":false,"fork":false,"pushed_at":"2024-06-21T13:50:42.000Z","size":300,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-06-22T06:00:22.459Z","etag":null,"topics":["webmethods","webmethods-io-integration"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SoftwareAG.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-11T19:59:16.000Z","updated_at":"2024-06-21T13:50:17.000Z","dependencies_parsed_at":"2024-06-12T12:45:19.105Z","dependency_job_id":null,"html_url":"https://github.com/SoftwareAG/webmethods-io-integration-apicli","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftwareAG%2Fwebmethods-io-integration-apicli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftwareAG%2Fwebmethods-io-integration-apicli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftwareAG%2Fwebmethods-io-integration-apicli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftwareAG%2Fwebmethods-io-integration-apicli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoftwareAG","download_url":"https://codeload.github.com/SoftwareAG/webmethods-io-integration-apicli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213706832,"owners_count":15626706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["webmethods","webmethods-io-integration"],"created_at":"2024-08-02T17:00:39.380Z","updated_at":"2025-05-02T11:32:05.433Z","avatar_url":"https://github.com/SoftwareAG.png","language":"JavaScript","readme":"# About\nThis is a Node CLI tool allowing you to utilize the webMethods.io Integration public APIs from a command line.\nThis requires you to provide your tenant domain name, along with a user and password that has the appropriate permissions to call the API.\nThe --help parameter provides further information on how to use this along with some examples of its usage.\n\nThis CLI tool has been tested against\n* webMethods.io Integration v11.0.3\n\n# License\nThis project is licensed under the Apache 2.0 License - see the LICENSE file for details\nThese tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.\n\nContact us via the TECHcommunity (https://techcommunity.softwareag.com/) if you have any questions.\n \n# Installation\n```\ngit clone https://github.com/SoftwareAG/webmethods-io-integration-apicli.git\ncd webmethods-io-integration-apicli\nnpm install\nnode wmiocli.js --help\n```\n\n# Usage\n\n```\n┌──────────────────────────────────────────────────────────────────────────────┐\n│ webMethods.io Integration API CLI tool                                       │\n│ This tool provides command line access to the webMethods.io Integration APIs │\n│ Intended to aid usage within DevOps Scenarios for asset deployment           │\n└──────────────────────────────────────────────────────────────────────────────┘\n\n\n\nUsage: wmiocli [options] [command]\n\nOptions:\n  -V, --version                                                                                                                              output the version number\n  -d, --domain \u003ctenantDomain\u003e                                                                                                                Tenant Doamin Name, e.g. \"tenant.int-aws-us.webmethods.io\"\n  -u, --user \u003cuserid\u003e                                                                                                                        Tenant User ID\n  -p, --password \u003cpassword\u003e                                                                                                                  Tenant User Password\n  -s, --start \u003cposition\u003e                                                                                                                     Index of where to start the return of data (default 0)\n  -l, --count \u003ccount\u003e                                                                                                                        Count of items to return (default 1000)\n  -t, --timeout \u003cdelay\u003e                                                                                                                      timeout in seconds (default: one minute)\n  --prettyprint                                                                                                                              Pretty Print JSON output\n  --verbose                                                                                                                                  Enables full debug mode (replaced by --loglevel DEBUG)\n  --loglevel \u003clevel\u003e                                                                                                                         Change the logging level of DEBUG, INFO,WARN,ERROR,OFF (default being off)\n  --proxy \u003cproxyURL\u003e                                                                                                                         URL for proxy server if required\n  --caCert \u003cpath-to-cert\u003e                                                                                                                    Path to a CACert PEM file if required\n  --ignoreTLSErrors                                                                                                                          Ignore TLS errors\n  --experimental                                                                                                                             Provide help information on experimental commands\n  -h, --help                                                                                                                                 display help for command\n\nCommands:\n  project [project-name]                                                                                                                     Lists all projects or view an individual project, specified via project name or uid\n  project-assets \u003cproject-name\u003e                                                                                                              Lists project assets from given project name or uid\n  project-assets-detailed \u003cproject-name\u003e                                                                                                     Lists project assets (All Details) from given project name or uid\n  project-create \u003cproject-name\u003e                                                                                                              Create project with given name\n  project-update \u003cproject-id\u003e \u003cproject-name\u003e                                                                                                 Update project with new name\n  project-delete \u003cproject-id\u003e                                                                                                                Delete project with given id\n  project-publish \u003cproject-id\u003e \u003cpublish-name\u003e \u003ctarget-tenant-domain-name\u003e \u003ctarget-user-id\u003e \u003ctarget-user-password\u003e \u003cassets-json\u003e              Pubilsh project to another tenant with given id\n  project-deploy \u003cprojectName\u003e \u003cversion\u003e                                                                                                     deploy published project with given version into tenant\n  project-param \u003cproject-name\u003e [param-uid]                                                                                                   Lists all project parameters from given project name, or specific parameter with given parameter uid\n  project-param-create \u003cproject-name\u003e \u003cparam-name\u003e \u003cparam-value\u003e \u003crequired\u003e \u003cis-password\u003e                                                    Creates a project parameter with given values\n  project-param-update \u003cproject-name\u003e \u003cparam-uid\u003e \u003cparam-name\u003e \u003cparam-value\u003e \u003crequired\u003e \u003cis-password\u003e                                        Updates a project parameter matching the provided UID with given values\n  project-param-delete \u003cproject-name\u003e \u003cparam-uid\u003e                                                                                            Deletes a project parameter mathcing the given paramater uid\n  project-webhooks-list \u003cproject-id\u003e                                                                                                         List webhooks in a project\n  project-webhooks-regenerate \u003cproject-id\u003e \u003cworkflow-uid\u003e                                                                                    Regenerate a webhook in a project for a given workflow UID\n  project-webhooks-auth \u003cproject-id\u003e \u003cworkflow-uid\u003e \u003cauth-type\u003e                                                                              Set authenatication type (none,login,token) for a webhook in a project for a given workflow UID\n  project-triggers-list \u003cproject-id\u003e                                                                                                         Provide a list of triggers within a project\n  project-triggers-delete \u003cproject-id\u003e \u003ctrigger-id\u003e                                                                                          Delete a trigger within a project with the given IDs\n  project-ref-data \u003cproject-id\u003e [ref-data-name]                                                                                              lists/gets reference data in a project\n  project-ref-data-add \u003cproject-id\u003e \u003cref-data-name\u003e \u003cref-data-description\u003e \u003cfilename\u003e [field-separator] [text-qualifier] [file-encoding]     Adds reference data\n  project-ref-data-update \u003cproject-id\u003e \u003cref-data-name\u003e \u003cref-data-description\u003e \u003cfilename\u003e [field-separator] [text-qualifier] [file-encoding]  Updates reference data\n  project-ref-data-delete \u003cproject-id\u003e \u003cref-data-name\u003e                                                                                       Updates reference data\n  project-export \u003cproject-id\u003e                                                                                                                Exports a project\n  role [role-id]                                                                                                                             Lists all roles or views an individual role\n  role-create \u003crole-name\u003e \u003crole-description\u003e \u003croles-list\u003e                                                                                    Create roles and specify the permissions for that role. Roles-list should be provided as follows projectName,r,w,e;project name\n                                                                                                                                             2,r;\n  role-update \u003crole-id\u003e \u003crole-name\u003e \u003crole-description\u003e \u003croles-list\u003e                                                                          Create roles and specify the permissions for that role. Roles-list should be provided as follows projectName,r,w,e;project name\n                                                                                                                                             2,r;\n  role-delete \u003croleId\u003e                                                                                                                       Delete a roles with the given role id\n  user                                                                                                                                       Lists all users\n  user-role-assignment \u003cuser-id\u003e \u003crole-names\u003e                                                                                                Assigns a user to roles\n  workflow-export \u003cproject-id\u003e \u003cworkflow-id\u003e \u003cfilename\u003e                                                                                      Export workflow with id \u003cworkflow-id\u003e from project \u003cproject-id\u003e\n  workflow-import \u003cproject-id\u003e \u003cfilename\u003e                                                                                                    Import workflow into project \u003cproject-id\u003e from file \u003cfilename\u003e\n  workflow-delete \u003cproject-id\u003e \u003cworkflow-id\u003e                                                                                                 Delete workflow \u003cworkflow-id\u003e from project \u003cproject-id\u003e\n  workflow-execute \u003cproject-id\u003e \u003cworkflow-id\u003e                                                                                                Execute workflow \u003cworkflow-id\u003e from project \u003cproject-id\u003e\n  workflow-status \u003cproject-id\u003e \u003crun-id\u003e                                                                                                      Gets Execution status for workflow execution \u003crun-id\u003e\n  workflow-create \u003cproject-id\u003e \u003cworfklow-name\u003e \u003cworkflow-description\u003e                                                                        Creates a blank workflow with the given name/description\n  flowservice-export \u003cproject-id\u003e \u003cflow-name\u003e \u003cfile-name\u003e                                                                                    Export FlowService with name \u003cflow-name\u003e from project \u003cproject-id\u003e\n  flowservice-import \u003cproject-id\u003e \u003cfilename\u003e                                                                                                 Import FlowService from \u003cfilename\u003e into project \u003cproject-id\u003e\n  flowservice-delete \u003cproject-id\u003e \u003cflow-name\u003e                                                                                                Delete FlowService \u003cflow-name\u003e from project \u003cproject-id\u003e\n  flowservice-execute \u003cproject-id\u003e \u003cflow-name\u003e [input-json]                                                                                  Execute FlowService \u003cflow-name\u003e from project \u003cproject-id\u003e with data \u003cinput-json\u003e\n  theme [theme-uid]                                                                                                                          Lists themes or views an individual theme, specified via uid\n  theme-create \u003ctheme-name\u003e \u003ctheme-description\u003e \u003ctheme-object\u003e [footer-text] [about-page]                                                    Create theme with given data\n  theme-update \u003ctheme-uid\u003e \u003ctheme-name\u003e \u003ctheme-description\u003e \u003ctheme-object\u003e [footer-text] [about-page]                                        Update theme with the given UID with given data\n  theme-delete \u003ctheme-uid\u003e                                                                                                                   Delete theme with the given UID\n  theme-activate \u003ctheme-uid\u003e                                                                                                                 Activate theme with the given UID\n  theme-deactivate \u003ctheme-uid\u003e                                                                                                               Deactivate theme with the given UID\n  recipe [recipe-uid]                                                                                                                        List all Workflow recipes, or get a single recipe with a given recipe UID\n  recipe-delete \u003crecipe-uid\u003e                                                                                                                 Delete Workflow recipe with a given recipe UID\n  recipe-create \u003cfilename\u003e                                                                                                                   Create Workflow Recipe from file \u003cfilename\u003e\n  monitor \u003cfrom\u003e \u003ccount\u003e [start-date] [end-date] [projects-list] [workflows-list] [execution-status]                                         Get Monitor summary\n  monitor-workflow-log \u003cbill-uid\u003e                                                                                                            Get Monitor summary\n  idm-authtoken                                                                                                                              Get authtoken from IDM\n  idm-user \u003cusername\u003e                                                                                                                        Get User information direct from IDM\n  idm-user-search \u003cquery\u003e \u003cincludeRoles\u003e \u003cproducts\u003e                                                                                          Searches user information from the IDM\n  idm-user-count [query]                                                                                                                     Counts users matching a provided query\n  idm-user-role-mappings \u003cuserid\u003e                                                                                                            Finds role mappings for given user\n  idm-roles                                                                                                                                  Lists all assignable roles for the current environment\n  idm-user-create \u003cfirst-name\u003e \u003clast-name\u003e \u003cemail\u003e \u003cusername\u003e                                                                                Creates a new user in the IDM\n  idm-user-delete \u003cuser-id\u003e                                                                                                                  Deletes a user\n  idm-user-unlock \u003cuser-id\u003e                                                                                                                  Unlocks a user\n  help [command]                                                                                                                             display help for command\n\n\nExamples:\n\nHelp\n\nShow the command line help:\n$ node wmiocli.js --help\n\n\nProjects\n\nList projects in a tenant:\n$ node wmiocli.js -d tenant.int-aws-us.webmethods.io -u user -p password project\n\nView individual project using project ID (indentified from URL in webMethods.io when in a project, i.e. https://tenant.int-aws-us.webmethods.io/#/projects/fl65d3aa87fc1783ea5cf8c8/workflows):\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project fl65d3aa87fc1783ea5cf8c8\n\nView individual project with given project name:\n    $ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project Default\n\nView Project assets from project with given name:\n    $ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-assets Default\n\nView Project assets (All Details) from project with given name:\n    $ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-assets-detailed Default\n\nUpdate Project name:\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-update fl65d3aa87fc1783ea5cf8c8 \"my New Name\"\n\nDelete Project:\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-delete fl65d3aa87fc1783ea5cf8c8\n\nGet Project Assets:\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-assets fl65d3aa87fc1783ea5cf8c8\n\nPublish Project to another tenant:\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-publish fl65d3aa87fc1783ea5cf8c8 'My deployment' 'target.int-aws-us.webmethods.io'\n    'targetuser' 'targetpassword'\n    '{\"output\":{\"workflows\":[\"fla73a20e13dd6736cf9c355\",\"fl3cfd145262bbc5d44acff3\"],\n    \"flows\":[\"mapLeads\"],\"rest_api\":[],\"soap_api\":[],\"listener\":[],\"messaging\":[]}}'\n\n\nDeploy published Project in the tenant with the given name and deploy version:\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-deploy projectName 1\n\n\nList Project Workflow Parameters or gets an individual where name is specified\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-param projectName [param-name]\n\nCreate Project Workflow Parameter\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-param-create projectName param-name param-value required isPassword\n\n    e.g. node wmiocli.js -d env -u user -p pass project-param-create project name dave false false\n\nUpdate Project Workflow Parameter\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-param-update projectName param-uid param-name param-value required isPassword\n\nDelete Project Workflow Parameter matching the provided parameter id\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-param-delete projectName param-uid\n\nProject webhooks List\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-webhooks-list [project-uid]\n\nRegenerate webhook token\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-webhooks-regenerate project-uid webhook-uid\n\nChange webhook Auth\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-webhooks-auth project-uid webhook-uid auth-type\u003cnone,login,token\u003e\n\n    e.g.\n    node wmiocli.js -d env -u user -p pass project-webhooks-auth flf1111 flf2222 login\n\nList triggers in project\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-triggers-list project-uid\n\nDelete trigger in project\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-triggers-delete project-uid trigger-uid\n\nList Reference Data List:\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    referencedata project_name\n    e.g.\n    project-ref-data project-uid\n\nList Reference Data Get Item:\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-ref-data project-uid ref-data-name \u003cjson/csv\u003e\n\n    e.g.\n    project-ref-data project-uid ref-data-name\n    project-ref-data project-uid ref-data-name json\n    project-ref-data project-uid ref-data-name csv\n\nAdd Reference Data:\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-ref-data-add project-uid name description filepath \u003cfield separator\u003e \u003ctext_qualifier\u003e \u003cfile_encoding\u003e\n\n    e.g.\n    project-ref-data-add flf1111 reflookup description test.csv\n\nUpdate Reference Data:\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    project-ref-data-add project-uid name description filepath \u003cfield separator\u003e \u003ctext_qualifier\u003e \u003cfile_encoding\u003e\n\n    e.g.\n    project-ref-data-update flf1111 reflookup description test.csv\n\nWorkflow\n\nExport Workflow from a given project (identified from URL in webMethods.io when in workflow canvas,\ni.e. https://tenant.int-aws-us.webmethods.io/#/projects/fl65d3aa87fc1783ea5cf8c8/workflows/fl52232a2dfafbd6536963d7/edit):\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    workflow-export fl65d3aa87fc1783ea5cf8c8 fl52232a2dfafbd6536963d7 export.zip\n\nImport Workflow from a given file into a project\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    workflow-import fl65d3aa87fc1783ea5cf8c8 export.zip\n\nCreate a blank workflow\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    workflow-create fl65d3aa87fc1783ea5cf8c8 \"name\" \"description\"\n\nDelete Workflow from a given project\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    workflow-delete fl65d3aa87fc1783ea5cf8c8 fl52232a2dfafbd6536963d7\n\nExecute a Workflow from a given project\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    workflow-execute fl65d3aa87fc1783ea5cf8c8 fl52232a2dfafbd6536963d7\n\nGet Workflow execution status from a given project\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    workflow-status fl65d3aa87fc1783ea5cf8c8 vbid3d247cd26aa5e19354e1fc6951766a3d19c049bee11d\n\n\nFlowService\n\nExport FlowService from a given project (identified from URL in webMethods.io when in FlowEditor\ni.e. https://tenant.int-aws-us.webmethods.io/#/projects/fl65d3aa87fc1783ea5cf8c8/flow-editor/myFlowService):\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    flowservice-export fl65d3aa87fc1783ea5cf8c8 myFlowService export.zip\n\nImport Flowservice from a given file into a project\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    flowservice-import fl65d3aa87fc1783ea5cf8c8 export.zip\n\nDelete FlowService from a given project\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    flowservice-delete fl65d3aa87fc1783ea5cf8c8 myFlowService\n\nExecute a FlowService from a given project\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    flowservice-execute fl65d3aa87fc1783ea5cf8c8 myFlowService\n\n\nRoles\n\nGet roles list or individual role\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    role [role-name]\n\nCreates a role\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    role-create 'rolename' 'role description' 'project 1 name,r,w,e;project 2 name,r;'\n\nUpdates a role with a provided Id\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    role-update 'roleId' 'rolename' 'role description' 'project 1 name,r,w,e;project 2 name,r;'\n\nDelete a role with a provided Id\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    role-delete 'roleId'\n\n\nRecipes\n\nGet recipe list or individual recipe\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    recipe [recipe-Uid]\n\nCreates a Workflow recipe from a workflow export\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    recipe-create export-flf111111.zip\n\nDeletes a Workflow recipe with the provided UID\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    recipe-delete fl1771d591cfb4f31e558daf\n\n\n\nThemes\n\nLists whitelabel themes\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    theme [theme-uid]\n\n    The theme settings returned can be use as a way to create the theme.\n    You can use jq to retrieve the theme settings by piping the output to jq, e.g.\n\n    node wmiocli.js -d env -u user -p pass theme fl40018d9a1a273bb8aa92bf | jq -c .output.settings.theme \u003e ~/dracula-theme.txt\n\nDeletes a whitelabel theme\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    theme-delete [theme-uid]\n\nCreates a new whitelabel theme\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    theme-create dracula 'desc' [theme-settings] \"Footer Text\" \"About Page\"\n\n    Theme settings can be used from the list example above, e.g.\n    node wmiocli.js -d env -u user -p pass theme-create dracula7 'updated' \"`cat ~/dracula-theme.txt`\" 'Footer' 'About'\n\nUpdates a whitelabel theme\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    theme-update themeid dracula 'desc' [theme-settings] \"Footer Text\" \"About Page\"\n\n    Theme settings can be used from the list example above, e.g.\n    node wmiocli.js -d env -u user -p pass theme-update themeid dracula7 'updated' \"`cat ~/dracula-theme.txt`\" 'Footer' 'About'\n\nActivates a whitelabel theme\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    theme-activate [theme-uid]\n\nDeactivates a whitelabel theme\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    theme-deactivate [theme-uid]\n\n\nMonitor\n\nRetrieve Monitor Summary:\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    monitor from count startDate endDate projectsList workflowsList executionStatus\n    e.g.\n    monitor 1 10 2023-01-01 2023-01-10 myProject workflow1,workflow2 failed,timeout,stopped\n    monitor 11 10 2023-01-01 2023-01-10 myProject workflow1,workflow2 failed,timeout,stopped\n    monitor\n\n\nView an Execution Log:\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    monitor-workflow-log billUid\n\n\nwebMethods Cloud IDM\n\nProvides an IDM authtoken for subsequent calls\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    idm-authtoken\n\nGets an IDM users details\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    idm-user \u003cusername\u003e\n\nFinds users that match the search criteria\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    idm-user-search \u003cquery\u003e \u003cinclude roles - true|false\u003e \u003cproduct\u003e\n    where product is one of: apigateway, apiportal, webmethodsioint, b2b,\n    cumulocity, cloudcontainer, devportal, mft, metering, wmapps\n    e.g.\n    idm-user-search Dave true webmethodsioint\n\nCounts users that match the search criteria\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    idm-user-count \u003cquery\u003e\n    where query can be a partial username, e.g.\n    idm-user-count dave\n\nLists environment available roles\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    idm-roles\n\nGets user role mappings for the given userid\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    idm-user-role-mappings \u003cuserid\u003e\n    where userid is the unique ID returned from the idm-user call\n\nCreates a user\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    idm-user-create \u003cfirst-name\u003e \u003clast-name\u003e \u003cemail\u003e \u003cusername\u003e\n\nDeletes a user\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    idm-user-delete \u003cuserid\u003e\n    where userid is the unique ID returned from the idm-user call\n\nUnlocks a user\n$ node wmiocli.js\n    -d tenant.int-aws-us.webmethods.io\n    -u user\n    -p password\n    idm-user-unlock \u003cuserid\u003e\n    where userid is the unique ID returned from the idm-user call\n\n```\n","funding_links":[],"categories":["Integration \u0026 APIs"],"sub_categories":["![icon-webMethods io-Integration-64x64](https://user-images.githubusercontent.com/23717841/230610242-388570ae-f593-4d12-b4d8-c70579261a3e.png) webMethods.io Integration"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSoftwareAG%2Fwebmethods-io-integration-apicli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSoftwareAG%2Fwebmethods-io-integration-apicli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSoftwareAG%2Fwebmethods-io-integration-apicli/lists"}