Usage: {{apic apis:set}} API_NAME[:VERSION] [CATALOG_OPTIONS | SPACE_OPTIONS]

  Update an API in a catalog or space

  Options for catalog scope
    --{{scope catalog}}                       (default)
    --{{status}}                              API status (required)
        {{online}}                            put the API online
        {{offline}}                           take the API offline
    -{{c}}, --{{catalog}} CATALOG             catalog name (required)
    -{{o}}, --{{organization}} ORGANIZATION   provider organization name (required)
    -{{s}}, --{{server}} SERVER               management server endpoint (required)

  Options for space scope
    --{{scope space}}
    --{{status}}                              API status (required)
        {{online}}                            put the API online
        {{offline}}                           take the API offline
    --{{space}} SPACE                         space name (required)
    -{{c}}, --{{catalog}} CATALOG             catalog name (required)
    -{{o}}, --{{organization}} ORGANIZATION   provider organization name (required)
    -{{s}}, --{{server}} SERVER               management server endpoint (required)

  Stability: prototype

  Take an API offline in a catalog
    {{$ apic apis:set routes --status offline --catalog production --organization climbonorg --server mgmnthost.com}}
    Updated {{routes:1.0.0}} in {{climbonorg:production}} (status: {{offline}})

  Put an API online in a catalog
    {{$ apic apis:set routes --status online --catalog production --organization climbonorg --server mgmnthost.com}}
    Updated {{routes:1.0.0}} in {{climbonorg:production}} (status: {{online}})

  Take an API offline in a space
    {{$ apic apis:set --scope space --status offline --space sp1 --catalog production --organization climbonorg --server mgmnthost.com routes}}
    Updated {{routes:1.0.0}} in {{climbonorg:production:sp1}} (status: {{offline}})

  Put an API online in a space
    {{$ apic apis:set --scope space --status online --space sp1 --catalog production --organization climbonorg --server mgmnthost.com routes}}
    Updated {{routes:1.0.0}} in {{climbonorg:production:sp1}} (status: {{online}})
