Cohesity Network Information Service (NIS) API

The Network Information Service (NIS) API from Cohesity — 4 operation(s) for network information service (nis).

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /nis-netgroups List NIS netgroups · Get a list of NIS netgroups #
Ask an LLM
“Which NIS netgroups are configured on my cluster?”
“Can I look up several netgroups by name at once?”
Tell an agent
List all NIS netgroups.
Show the NIS netgroups named {netgroupNames}.
POST /nis-netgroups Create an NIS netgroup · Create an NIS netgroup #
Ask an LLM
“How do I add an NIS netgroup to control NFS access?”
“Can I set root squash when creating a netgroup?”
Tell an agent
Create NIS netgroup {name} in domain {domain}.
Add netgroup {name} on domain {domain} with NFS access {nfsAccess} and squash {nfsSquash}.
GET /nis-netgroups/{name} Get one NIS netgroup · Get an NIS netgroup by name #
Ask an LLM
“What NFS access does a specific netgroup grant?”
“Which domain is a given NIS netgroup in?”
Tell an agent
Show NIS netgroup {name}.
Get the NFS access settings of netgroup {name}.
PUT /nis-netgroups/{name} Update an NIS netgroup · Update an NIS netgroup by name #
Ask an LLM
“How do I change the NFS access level of an existing netgroup?”
“Can I move a netgroup to a different NIS domain?”
Tell an agent
Update netgroup {name} in domain {domain} to NFS access {nfsAccess}.
Change squash on existing netgroup {name} (domain {domain}) to {nfsSquash}.
DELETE /nis-netgroups/{name} Delete an NIS netgroup · Delete an NIS netgroup by name #
Ask an LLM
“How do I remove an NIS netgroup from the cluster?”
“Do I need the domain as well as the name to delete a netgroup?”
Tell an agent destructive · confirm first
Delete NIS netgroup {name} in domain {domain}.
Remove netgroup {name}.
GET /nis-providers List NIS providers · Get a list of NIS Providers #
Ask an LLM
“Which NIS servers is my cluster configured to use?”
“Can I filter NIS providers by domain name?”
Tell an agent
List all NIS providers.
Show NIS providers for domains {domainNames}.
POST /nis-providers Add an NIS provider · Create an NIS Provider #
Ask an LLM
“How do I connect my cluster to an NIS domain?”
“Can I add slave servers alongside the master NIS server?”
Tell an agent
Add NIS provider for domain {domain} with master server {masterServerHostname}.
Register NIS domain {domain} using master {masterServerHostname} and slaves {slaveServers}.
GET /nis-providers/{domain} Get an NIS provider by domain · Get an NIS Provider by domain name #
Ask an LLM
“Which master server is set for a given NIS domain?”
“What tenants can use a particular NIS provider?”
Tell an agent
Show the NIS provider for domain {domain}.
Get master and slave servers of NIS domain {domain}.
PUT /nis-providers/{domain} Update an NIS provider · Update an NIS Provider by domain name #
Ask an LLM
“How do I change the master server for an existing NIS domain?”
“Can I update which tenants an NIS provider is shared with?”
Tell an agent
Change NIS domain {domain} to master server {masterServerHostname}.
Update NIS provider {domain} with master {masterServerHostname} for tenants {tenantIds}.
DELETE /nis-providers/{domain} Delete an NIS provider · Delete an NIS Provider by domain name #
Ask an LLM
“How do I disconnect my cluster from an NIS domain?”
“Can I delete an NIS provider by its domain name?”
Tell an agent destructive · confirm first
Delete the NIS provider for domain {domain}.
Remove NIS domain {domain} from the cluster.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cohesity:cohesity-network-information-service-nis-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cohesity-network-information-service-nis-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Cohesity API provides a RESTful interface to access the various data management operations on Cohesity cluster and Helios.
  title: Cohesity REST Network Information Service (NIS) API
  version: '2.0'
servers:
- url: /v2
tags:
- name: Network Information Service (NIS)
paths:
  /nis-netgroups:
    get:
      description: Get a list of NIS netgroups.
      tags:
      - Network Information Service (NIS)
      summary: Get a list of NIS netgroups
      operationId: GetNisNetgroups
      parameters:
      - description: Filter by a list of NIS netgroup names.
        name: netgroupNames
        in: query
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/GetNisNetgroupsResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
    post:
      description: Create an NIS netgroup.
      tags:
      - Network Information Service (NIS)
      summary: Create an NIS netgroup
      operationId: CreateNisNetgroup
      responses:
        '201':
          $ref: '#/components/responses/NisNetgroupResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NisNetgroup'
        description: Specifies the parameters to create an NIS netgroup.
        required: true
  /nis-netgroups/{name}:
    get:
      description: Get an NIS netgroup by name.
      tags:
      - Network Information Service (NIS)
      summary: Get an NIS netgroup by name
      operationId: GetNisNetgroupByName
      parameters:
      - description: Specifies name of the NIS netgroup.
        name: name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GetNisNetgroupByNameResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
    put:
      description: Update an NIS netgroup by name.
      tags:
      - Network Information Service (NIS)
      summary: Update an NIS netgroup by name
      operationId: UpdateNisNetgroupByName
      parameters:
      - description: Specifies name of the NIS netgroup.
        name: name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/NisNetgroupResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NisNetgroup'
        description: Request to update the NIS netgroup.
        required: true
    delete:
      description: Delete an NIS netgroup by name.
      tags:
      - Network Information Service (NIS)
      summary: Delete an NIS netgroup by name
      operationId: DeleteNisNetgroupByName
      parameters:
      - description: Specifies name of the NIS netgroup.
        name: name
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          $ref: '#/components/responses/NoContentResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NisNetgroup'
        description: Request to delete the NIS netgroup.
        required: true
  /nis-providers:
    get:
      description: Get a list of NIS Providers.
      tags:
      - Network Information Service (NIS)
      summary: Get a list of NIS Providers
      operationId: GetNisProviders
      parameters:
      - description: Filter by a list of NIS domain names.
        name: domainNames
        in: query
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/GetNisProvidersResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
    post:
      description: Create an NIS Provider.
      tags:
      - Network Information Service (NIS)
      summary: Create an NIS Provider
      operationId: CreateNisProvider
      responses:
        '201':
          $ref: '#/components/responses/NisProviderResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NisProvider'
        description: Specifies the parameters to create an NIS provider entry.
        required: true
  /nis-providers/{domain}:
    get:
      description: Get an NIS Provider by domain name.
      tags:
      - Network Information Service (NIS)
      summary: Get an NIS Provider by domain name
      operationId: GetNisProviderByDomainName
      parameters:
      - description: Specifies domain of an NIS Provider.
        name: domain
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/GetNisProviderByDomainNameResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
    put:
      description: Update an NIS Provider by domain name.
      tags:
      - Network Information Service (NIS)
      summary: Update an NIS Provider by domain name
      operationId: UpdateNisProviderByDomainName
      parameters:
      - description: Specifies domain name of an NIS Provider.
        name: domain
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/NisProviderResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NisProvider'
        description: Request to update an NIS Provider.
        required: true
    delete:
      description: Delete an NIS Provider by domain name.
      tags:
      - Network Information Service (NIS)
      summary: Delete an NIS Provider by domain name
      operationId: DeleteNisProviderByDomainName
      parameters:
      - description: Specifies domain name of an NIS Provider.
        name: domain
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          $ref: '#/components/responses/NoContentResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
components:
  responses:
    GetNisProvidersResponse:
      description: Success
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NisProviders'
    GetNisNetgroupByNameResponse:
      description: Success
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NisNetgroup'
    GetNisNetgroupsResponse:
      description: Success
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NisNetgroups'
    NisNetgroupResponse:
      description: Success
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NisNetgroup'
    NisProviderResponse:
      description: Success
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NisProvider'
    NoContentResponse:
      description: No Content
    ErrorResponse:
      description: Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    GetNisProviderByDomainNameResponse:
      description: Success
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NisProvider'
  schemas:
    Error:
      description: Specifies the error object with error code and a message.
      type: object
      title: Error.
      properties:
        errorCode:
          description: Specifies the error code.
          type:
          - string
          - 'null'
          x-order: 0
        message:
          description: Specifies the error message.
          type:
          - string
          - 'null'
          x-order: 1
    NisProvider:
      description: Specifies an NIS Provider.
      type: object
      required:
      - domain
      - masterServerHostname
      properties:
        domain:
          description: Specifies the Domain Name of NIS Provider.
          type:
          - string
          - 'null'
          x-order: 0
        masterServerHostname:
          description: Specifies the hostname of Master Server.
          type:
          - string
          - 'null'
          x-order: 1
        slaveServers:
          description: Specifies a list of slave servers in the NIS Domain.
          type:
          - array
          - 'null'
          items:
            type: string
          x-order: 2
        tenantIds:
          description: Specifies the list of tenant Ids for NIS Provider.
          type:
          - array
          - 'null'
          items:
            type: string
          x-order: 3
    NisNetgroup:
      description: Specifies an NIS netgroup.
      type: object
      required:
      - name
      - domain
      properties:
        name:
          description: Specifies the netgroup name.
          type:
          - string
          - 'null'
          x-order: 0
        domain:
          description: Specifies the domain name for the netgroup.
          type:
          - string
          - 'null'
          x-order: 1
        nfsAccess:
          description: Specifies NFS protocol acess level for clients from the netgroup.
          type:
          - string
          - 'null'
          enum:
          - kDisabled
          - kReadOnly
          - kReadWrite
          x-order: 2
        nfsSquash:
          description: 'Specifies which nfsSquash Mounted.

            ''kNone'' mounts none.

            ''kRootSquash'' mounts nfsRootSquash. Whether clients from this subnet can

            mount as root on NFS.

            ''kAllSquash'' mounts nfsAllSquash. Whether all clients from this subnet can

            map view with view_all_squash_uid/view_all_squash_gid configured in

            the view.'
          type:
          - string
          - 'null'
          enum:
          - kNone
          - kRootSquash
          - kAllSquash
          x-order: 3
    NisNetgroups:
      description: Response of NIS Netgroups.
      type: object
      properties:
        nisNetgroups:
          description: A list of NIS Netgroups.
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/NisNetgroup'
          x-order: 0
    NisProviders:
      description: Response of NIS Providers.
      type: object
      properties:
        nisProviders:
          description: A list of NIS Providers.
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/NisProvider'
          x-order: 0
  securitySchemes:
    APIKeyHeader:
      in: header
      name: apiKey
      type: apiKey