Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • API, CLI, and SDK Documentation
  • Command-line Interface

CLI: Job Categories

L

Written by Andrea Harvey

Updated at April 28th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Insights
    Prebuilt Insights Custom Insights
  • Content
  • Accounts
  • Activity Log
  • Content Scans
  • Migrations
    Migration Jobs Migration Reports Maps Flagged Items Migration Tools
  • Connections
    Supported Platform Connections Creating Connections Connection Maintenance Connection Pools
  • Entity Types
    DryvIQ Available Entity Types Custom Entity Types Entity Type Maintenance
  • Action Sets
    Creating Action Sets Action Sets Maintenance
  • Settings
    License Performance Notifications Extensions Entity Types Settings Display Settings Configuration
  • API, CLI, and SDK Documentation
    REST API Documentation Command-line Interface SDK Development
  • POC Offering
  • Release Notes
+ More

Table of Contents

Overview List Job Categories Command Example Results Example JSON Results Show a Job Category Command With Variables Command With Example Variables Example Results Example JSON Results Create a Job Category Command With Variables Command With Example Variables Expected Result Expected JSON Result Delete a Job Category Command With Variables Command With Example Variables Expected Result Expected JSON Result

The CLI references “skysync.” This is expected.

 

Overview

The CLI allows you to manage migration job categories. This includes retrieving a list of existing job categories, creating new categories, and deleting categories. The authentication parameters are provided within the configuration file in all examples. See CLI: Authentication for more information.

List Job Categories

Parameter Description Required Default

serach

q

Search text Optional  
offset Search offset Optional 0
limit Search page size Optional 20

Command

skysync-cli job-categories list

Example Results

ID Name
-1 Default
1  Maintenance

Example JSON Results

[
  {
    "id": -1,
    "name": "Default"
  },
  {
    "id": 1,
    "name": "Maintenance"
  }
]

Show a Job Category

Parameter Description Required
id Job category ID Required

Command With Variables

skysync-cli job-categories show {{id}}

Command With Example Variables

skysync-cli job-categories show 1

Example Results

ID   1
Name Maintenance

Example JSON Results

[
  {
    "id": 1,
    "name": "Maintenance"
  }
]

Create a Job Category

Parameter Description Type Required
name Job category name string Required

Command With Variables

skysync-cli job-categories add {{name}}

Command With Example Variables

skysync-cli job-categories add 'HR Department'

Expected Result

ID   2
Name HR Deparment

Expected JSON Result 

[
  {
    "id": 2,
    "name": "HR Department"
  }
]

Delete a Job Category

Parameter Description Required
id Job category ID Required

Command With Variables

skysync-cli job-categories delete {{id}}

Command With Example Variables

skysync-cli job-categories delete 2

Expected Result

The job category was deleted successfully.

Expected JSON Result 

The job category could not be deleted.

 

job types categories cli command-line jobs

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • DryvIQ CLI for Migrations
  • CLI: Authentication
  • CLI: Jobs
  • CLI: Reports

Copyright 2025 – DryvIQ, Inc.

Knowledge Base Software powered by Helpjuice

Expand