@ev1lc0rp/n8n-nodes-ninjaone
Version:
Professional NinjaOne RMM integration for n8n with complete ticketing and device management
46 lines • 1.37 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.organizationOperations = void 0;
exports.organizationOperations = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['organization'],
},
},
options: [
{
name: 'Create',
value: 'create',
action: 'Create an organization',
routing: {
request: {
method: 'POST',
url: '/v2/organizations',
body: {
name: '={{$parameter.name}}',
description: '={{$parameter.description}}',
},
},
},
},
{
name: 'Get',
value: 'get',
action: 'Get an organization',
routing: {
request: {
method: 'GET',
url: '=/v2/organization/{{$parameter.organizationId}}',
},
},
},
],
default: 'get',
},
];
//# sourceMappingURL=organization.js.map