The following operation is supported on this resource:

  • POST - Delete multiple DMI schemas
POST /delete-schemas Version 2

Delete multiple DMI schemas. This API executes a job to delete installed DMI schemas from Junos Space. A device family and a release/os-version must be specified for each schema to be deleted.

Sample Usage

This API makes an asynchronous method call; so, you can optionally specify queue and schedule parameters:

POST /delete-schemas?queue=<queue>&schedule=<schedule>

Note: The queue URL denoted by <queue> must have been created already.

  • Parameters:
    Name Type URI Type Description Required
    queue Queue URL Query A fully qualified queue URL, where job progress notifications will be sent (See Asynchronous API Usage) N
    schedule cron-like-expression Query Schedule this API in the future, by specifying a cron-like-expression (See Job Scheduling) N
  • Sample Input XML:

  • Sample Output XML:
    <task href="/api/space/job-management/jobs/688128">

  • Sample Input JSON:
       "delete-schemas" : {
         "dmi-schema-infos" : {
           "dmi-schema-info" : [
               "os-version" : "8.0" ,
               "dev-family" : "mssos"

  • Sample Output JSON:

  • Access Control

    The following capabilities are required to access this API: DeleteUnusedSchema