Cohesity Users API

The Users API from Cohesity — 2 operation(s) for users.

Operations 3

GET /security-principals Get Security Principals #
POST /users/sessions Create a user session #
DELETE /users/sessions Delete user sessions #

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-users-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-users-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 Users API
  version: '2.0'
servers:
- url: /v2
tags:
- name: Users
paths:
  /security-principals:
    get:
      tags:
      - Users
      summary: Get Security Principals
      operationId: GetSecurityPrincipals
      parameters:
      - description: Specifies a list of SIDs.
        name: sids
        in: query
        required: true
        schema:
          type: array
          items:
            pattern: ^(S\-\d\-(\d+\-){1,14}\d+)$
            type: string
          minItems: 1
          uniqueItems: true
      responses:
        '200':
          $ref: '#/components/responses/GetSecurityPrincipalsResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
  /users/sessions:
    post:
      tags:
      - Users
      summary: Create a user session
      operationId: CreateSession
      responses:
        '201':
          $ref: '#/components/responses/UserSessionResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateUserSessionRequestParams'
        description: Specifies the parameters to create a user session
        required: true
    delete:
      description: Deletes all sessions for given user sid or system wide sessions
      tags:
      - Users
      summary: Delete user sessions
      operationId: DeleteSession
      parameters:
      - description: Specifies a user sid. If sid is not given system wide sessions are deleted.
        name: sid
        in: query
        schema:
          type: string
      responses:
        '204':
          $ref: '#/components/responses/NoContentResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
      - APIKeyHeader: []
components:
  schemas:
    SecurityPrincipals:
      description: Specifies a list of security principals.
      type: object
      properties:
        securityPrincipals:
          description: Specifies a list of security principals.
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/SecurityPrincipal'
          x-order: 0
    UserSession:
      description: User session response
      type: object
      properties:
        sessionId:
          description: Specifies the session id
          type: string
          x-order: 0
    SecurityPrincipal:
      description: Specifies a security principal.
      type: object
      properties:
        domainName:
          description: Specifies the domain name where the security principal account is maintained.
          type:
          - string
          - 'null'
          x-order: 0
        fullName:
          description: Specifies the full name (first and last name) of the security principal.
          type:
          - string
          - 'null'
          x-order: 1
        principalName:
          description: Specifies the name of the security principal.
          type:
          - string
          - 'null'
          x-order: 2
        objectClass:
          description: Specifies the object class of the security principal.
          type:
          - string
          - 'null'
          enum:
          - User
          - Group
          - Computer
          - WellKnownPrincipal
          x-order: 3
        sid:
          description: Specifies the SID of the security principal.
          type:
          - string
          - 'null'
          x-order: 4
    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
    CreateUserSessionRequestParams:
      description: Specifies user session request parameters
      type: object
      properties:
        username:
          description: Specifies the login name of the Cohesity user
          type:
          - string
          - 'null'
          x-order: 0
        password:
          description: Specifies the password of the Cohesity user
          type:
          - string
          - 'null'
          x-order: 1
        domain:
          description: Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.
          type:
          - string
          - 'null'
          x-order: 2
        certificate:
          description: Specifies the certificate for cert based authentication.
          type:
          - string
          - 'null'
          x-order: 3
        privateKey:
          description: Specifies the private key for cert based authentication.
          type:
          - string
          - 'null'
          x-order: 4
  responses:
    NoContentResponse:
      description: No Content
    ErrorResponse:
      description: Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    UserSessionResponse:
      description: Success
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UserSession'
    GetSecurityPrincipalsResponse:
      description: Success
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SecurityPrincipals'
  securitySchemes:
    APIKeyHeader:
      in: header
      name: apiKey
      type: apiKey