Zadara Roles API

Operations involving Command Center roles.

Business capability
Identity & Access Management BC-620.20

Operations 10

GET /roles.json List roles #
POST /roles.json Create role #
GET /roles/{id}.json Get role #
PUT /roles/{id}.json Edit role #
DELETE /roles/{id}.json Delete role #
GET /permissions.json List all permissions #
GET /zios/roles.json Get zios roles #
GET /roles/all_permissions.json List all permissions #
PUT /roles/{role_id}.json Update role #
DELETE /roles/{role_id}.json Delete role #

Specifications

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/zadara:zadara-roles-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

zadara-roles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Zadara Roles API
  version: '25.07'
  contact:
    name: API Support
    email: support@zadarastorage.com
  description: 'Operations tagged Roles across 6 of this provider''s published API definitions: zadara-command-center-25.07.yml, zadara-object-storage-25.07.yml, zadara-vpsa-25.07.yml, zadara-command-center-openapi.yml, zadara-object-storage-openapi.yml, zadara-vpsa-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://localhost/api
- url: http://localhost/api
tags:
- name: Roles
  description: Operations involving Command Center roles.
paths:
  /roles.json:
    get:
      tags:
      - Roles
      description: Return roles list.
      operationId: list_roles
      security:
      - api_key: []
      responses:
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/xml:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                xml:
                  name: response
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  roles:
                    type: array
                    items:
                      type: object
                      properties:
                        role:
                          type: object
                          properties:
                            id:
                              type: integer
                            name:
                              type: string
                              example: License manager
                            permissions:
                              type: array
                              items:
                                type: string
                                example: licensing_view
                                xml:
                                  name: permission
                              xml:
                                wrapped: true
                      xml:
                        name: role
                    xml:
                      wrapped: true
            application/xml:
              schema:
                xml:
                  name: response
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  roles:
                    type: array
                    items:
                      type: object
                      properties:
                        role:
                          type: object
                          properties:
                            id:
                              type: integer
                            name:
                              type: string
                              example: License manager
                            permissions:
                              type: array
                              items:
                                type: string
                                example: licensing_view
                                xml:
                                  name: permission
                              xml:
                                wrapped: true
                      xml:
                        name: role
                    xml:
                      wrapped: true
      summary: List roles
      x-summary-source: derived
    post:
      tags:
      - Roles
      description: Create role.
      operationId: create_role
      security:
      - api_key: []
      responses:
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/xml:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                xml:
                  name: response
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  role:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        name:
                          type: string
                          example: License manager
                        permissions:
                          type: array
                          items:
                            type: string
                            example: licensing_view
                            xml:
                              name: permission
                          xml:
                            wrapped: true
                      xml:
                        name: role
                    xml:
                      wrapped: true
                  count:
                    type: integer
            application/xml:
              schema:
                xml:
                  name: response
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  role:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        name:
                          type: string
                          example: License manager
                        permissions:
                          type: array
                          items:
                            type: string
                            example: licensing_view
                            xml:
                              name: permission
                          xml:
                            wrapped: true
                      xml:
                        name: role
                    xml:
                      wrapped: true
                  count:
                    type: integer
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - permissions
              properties:
                name:
                  type: string
                  example: License manager
                permissions:
                  type: array
                  items:
                    type: string
                  example:
                  - licensing_view
                  - licensing_manage
        required: true
      summary: Create role
      x-summary-source: derived
    servers:
    - url: https://localhost/api
  /roles/{id}.json:
    get:
      tags:
      - Roles
      description: Return role.
      operationId: get_role
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      security:
      - api_key: []
      responses:
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/xml:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                xml:
                  name: response
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  role:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        name:
                          type: string
                          example: License manager
                        permissions:
                          type: array
                          items:
                            type: string
                            example: licensing_view
                            xml:
                              name: permission
                          xml:
                            wrapped: true
                      xml:
                        name: role
                    xml:
                      wrapped: true
            application/xml:
              schema:
                xml:
                  name: response
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  role:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        name:
                          type: string
                          example: License manager
                        permissions:
                          type: array
                          items:
                            type: string
                            example: licensing_view
                            xml:
                              name: permission
                          xml:
                            wrapped: true
                      xml:
                        name: role
                    xml:
                      wrapped: true
      summary: Get role
      x-summary-source: derived
    put:
      tags:
      - Roles
      description: Edit role.
      operationId: edit_role
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      security:
      - api_key: []
      responses:
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/xml:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                xml:
                  name: response
                type: object
                properties:
                  status:
                    type: string
                    example: success
            application/xml:
              schema:
                xml:
                  name: response
                type: object
                properties:
                  status:
                    type: string
                    example: success
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - permissions
              properties:
                name:
                  type: string
                  example: License manager
                permissions:
                  type: array
                  items:
                    type: string
                  example:
                  - licensing_view
                  - licensing_manage
        required: true
      summary: Edit role
      x-summary-source: derived
    delete:
      tags:
      - Roles
      description: Delete role.
      operationId: delete_role
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      security:
      - api_key: []
      responses:
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/xml:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                xml:
                  name: response
                type: object
                properties:
                  status:
                    type: string
                    example: success
            application/xml:
              schema:
                xml:
                  name: response
                type: object
                properties:
                  status:
                    type: string
                    example: success
      summary: Delete role
      x-summary-source: derived
    servers:
    - url: https://localhost/api
  /permissions.json:
    get:
      tags:
      - Roles
      description: Return permissions list.
      operationId: list_all_permissions
      security:
      - api_key: []
      responses:
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/xml:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                xml:
                  name: response
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  permissions:
                    type: array
                    items:
                      type: string
                      example: clouds_view
                      xml:
                        name: permission
                    xml:
                      wrapped: true
                  count:
                    type: integer
            application/xml:
              schema:
                xml:
                  name: response
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  permissions:
                    type: array
                    items:
                      type: string
                      example: clouds_view
                      xml:
                        name: permission
                    xml:
                      wrapped: true
                  count:
                    type: integer
      summary: List all permissions
      x-summary-source: derived
    servers:
    - url: https://localhost/api
  /zios/roles.json:
    get:
      tags:
      - Roles
      description: Returns VPSA Object Storage roles.
      operationId: get_zios_roles
      security:
      - api_key: []
      responses:
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/xml:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                xml:
                  name: xml
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  response:
                    type: object
                    properties:
                      message:
                        type: string
                      status:
                        type: integer
                      roles:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                              example: account_admin
                            id:
                              type: string
                              example: 46a121a767e84adf8e57b7bcf6a575c4
                          xml:
                            name: role
                        xml:
                          wrapped: true
                    xml:
                      name: list-roles-response
            application/xml:
              schema:
                xml:
                  name: xml
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  response:
                    type: object
                    properties:
                      message:
                        type: string
                      status:
                        type: integer
                      roles:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                              example: account_admin
                            id:
                              type: string
                              example: 46a121a767e84adf8e57b7bcf6a575c4
                          xml:
                            name: role
                        xml:
                          wrapped: true
                    xml:
                      name: list-roles-response
      summary: Get zios roles
      x-summary-source: derived
    servers:
    - url: https://localhost/api
    - url: http://localhost/api
  /roles/all_permissions.json:
    get:
      tags:
      - Roles
      description: List all available permissions.
      operationId: getRolesAllPermissionsJson
      security:
      - api_key: []
      responses:
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/xml:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                xml:
                  name: xml
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  response:
                    type: object
                    properties:
                      message:
                        type: string
                      permissions_count:
                        type: integer
                        xml:
                          name: permissions-count
                      permissions:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                              example: drives_view
                            type:
                              type: string
                              example: view
                            name:
                              type: string
                              example: view
                            read:
                              type: string
                              example: '1'
                            module:
                              type: string
                              example: Drives
                          xml:
                            name: permission
                        xml:
                          wrapped: true
                    xml:
                      name: hash
            application/xml:
              schema:
                xml:
                  name: xml
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  response:
                    type: object
                    properties:
                      message:
                        type: string
                      permissions_count:
                        type: integer
                        xml:
                          name: permissions-count
                      permissions:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                              example: drives_view
                            type:
                              type: string
                              example: view
                            name:
                              type: string
                              example: view
                            read:
                              type: string
                              example: '1'
                            module:
                              type: string
                              example: Drives
                          xml:
                            name: permission
                        xml:
                          wrapped: true
                    xml:
                      name: hash
      summary: List all permissions
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: list_all_permissions
    servers:
    - url: https://localhost/api
    - url: http://localhost/api
  /roles/{role_id}.json:
    put:
      tags:
      - Roles
      description: Update a role.
      operationId: update_role
      parameters:
      - in: path
        name: role_id
        required: true
        schema:
          type: string
      security:
      - api_key: []
      responses:
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/xml:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                xml:
                  name: xml
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  response:
                    type: object
                    properties:
                      message:
                        type: string
                        example: Operation successful
                      status:
                        type: integer
            application/xml:
              schema:
                xml:
                  name: xml
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  response:
                    type: object
                    properties:
                      message:
                        type: string
                        example: Operation successful
                      status:
                        type: integer
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - permissions
              properties:
                name:
                  type: string
                permissions:
                  type: array
                  description: Array of permissions names.
                  items:
                    type: string
                  example:
                  - drives_create
                  - drives_update
                  - drives_delete
        required: true
      summary: Update role
      x-summary-source: derived
    delete:
      tags:
      - Roles
      description: Delete a role.
      operationId: deleteRoles{roleId}Json
      parameters:
      - in: path
        name: role_id
        required: true
        schema:
          type: string
      security:
      - api_key: []
      responses:
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/xml:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                xml:
                  name: xml
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  response:
                    type: object
                    properties:
                      message:
                        type: string
                        example: Operation successful
                      status:
                        type: integer
                    xml:
                      name: delete-role-response
            application/xml:
              schema:
                xml:
                  name: xml
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  response:
                    type: object
                    properties:
                      message:
                        type: string
                        example: Operation successful
                      status:
                        type: integer
                    xml:
                      name: delete-role-response
      summary: Delete role
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: delete_role
    servers:
    - url: https://localhost/api
    - url: http://localhost/api
components:
  schemas:
    Error:
      type: object
      properties:
        status:
          type: string
        message:
          type: string
  parameters:
    limitParam:
      name: limit
      in: query
      required: false
      description: The total number of records to return.
      schema:
        type: integer
    startParam:
      name: start
      in: query
      required: false
      description: The item number to start from. 0 starts from the beginning.
      schema:
        type: integer
        minimum: 0
  securitySchemes:
    api_key:
      type: apiKey
      name: X-Token
      in: header
x-refined-from:
- zadara-command-center-25.07.yml
- zadara-object-storage-25.07.yml
- zadara-vpsa-25.07.yml
- zadara-command-center-openapi.yml
- zadara-object-storage-openapi.yml
- zadara-vpsa-openapi.yml