Skip to main content

system services web ontapi modify

Contributors
Suggest changes

Unsuspend ONTAPI after auto suspend

Availability: This command is available to cluster administrators at the admin privilege level.

Description

This command allows users to un-suspend ONTAPI after it has been automatically suspended

Parameters

[-suspended {true|false}] - ONTAPI suspended status

Defines whether ONTAPI is currently suspended or not.

Examples

  1. Example status of ONTAPI being suspended:

cluster1::> system services web ontapi show
ONTAPI Suspended
--------------
true
  1. The following example un-suspend ONTAPI:

cluster1::> system services web ontapi modify -suspended false
  1. Attempting to manually set the suspend status to true will result in an error:

cluster1::> system services web ontapi modify -suspended true

Error: command failed: ONTAPI cannot be manually suspended. Use the "vserver
       services web" CLI command to disable the ONTAPI service.