Spectro Cloud teams API

The teams API from Spectro Cloud — 7 operation(s) for teams.

Operations 16

GET /v1/teams Retrieves a list of teams #
POST /v1/teams Creates a team with the specified users and roles #
GET /v1/teams/summary Retrieves a list of team summary #
POST /v1/teams/summary Retrieves a list of teams summary with provided filter spec #
DELETE /v1/teams/{uid} Deletes the specified team #
GET /v1/teams/{uid} Returns the sepcified team #
PATCH /v1/teams/{uid} Patches the specified team #
PUT /v1/teams/{uid} Updates the sepcified team #
GET /v1/teams/{uid}/projects Returns the specified team's project and roles data #
PUT /v1/teams/{uid}/projects Updates the projects and roles for the specified team #
GET /v1/teams/{uid}/resourceRoles Returns the specified individual and resource roles for a team #
POST /v1/teams/{uid}/resourceRoles Add resource roles for team #
DELETE /v1/teams/{uid}/resourceRoles/{resourceRoleUid} Deleted the resource roles from team #
PATCH /v1/teams/{uid}/resourceRoles/{resourceRoleUid} Updates the resource roles for team #
GET /v1/teams/{uid}/roles Returns the specified team's tenant roles #
PUT /v1/teams/{uid}/roles Updates the tenant roles of the specified team #

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/spectro-cloud-teams-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

spectro-cloud-teams-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Local Management APIs activations Teams API
  version: v1
servers:
- url: https://edge-host-ip:5080
tags:
- name: teams
  x-displayName: Teams
paths:
  /v1/teams:
    get:
      operationId: v1TeamsList
      parameters:
      - description: 'Set of fields to be presented in the response with values. The fields are comma separated. Eg: metadata.uid,metadata.name'
        in: query
        name: fields
        schema:
          type: string
      - description: 'Filters can be combined with AND, OR operators with field path name. Eg: metadata.name=TestServiceANDspec.cloudType=aws


          Server will be restricted to certain fields based on the indexed data for each resource.'
        in: query
        name: filters
        schema:
          type: string
      - description: 'Specify the fields with sort order. 1 indicates ascending and -1 for descending. Eg: orderBy=metadata.name=1,metadata.uid=-1'
        in: query
        name: orderBy
        schema:
          type: string
      - description: 'limit is a maximum number of responses to return for a list call. Default and maximum value of the limit is 50.

          If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results.'
        in: query
        name: limit
        schema:
          type: integer
          format: int64
          default: 50
      - description: offset is the next index number from which the response will start. The response offset value can be used along with continue token for the pagination.
        in: query
        name: offset
        schema:
          type: integer
          format: int64
      - description: continue token to paginate the subsequent data items
        in: query
        name: continue
        schema:
          type: string
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        schema:
          type: string
      responses:
        '200':
          description: An array of teams
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1Teams'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Retrieves a list of teams
      tags:
      - teams
    post:
      operationId: v1TeamsCreate
      parameters:
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        schema:
          type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Creates a team with the specified users and roles
      tags:
      - teams
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1Team'
  /v1/teams/summary:
    get:
      description: Deprecated, Use Post api - Returns a list of team summaries
      operationId: v1TeamsSummary
      parameters:
      - description: 'Set of fields to be presented in the response with values. The fields are comma separated. Eg: metadata.uid,metadata.name'
        in: query
        name: fields
        schema:
          type: string
      - description: 'Filters can be combined with AND, OR operators with field path name. Eg: metadata.name=TestServiceANDspec.cloudType=aws


          Server will be restricted to certain fields based on the indexed data for each resource.'
        in: query
        name: filters
        schema:
          type: string
      - description: 'Specify the fields with sort order. 1 indicates ascending and -1 for descending. Eg: orderBy=metadata.name=1,metadata.uid=-1'
        in: query
        name: orderBy
        schema:
          type: string
      - description: 'limit is a maximum number of responses to return for a list call. Default and maximum value of the limit is 50.

          If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results.'
        in: query
        name: limit
        schema:
          type: integer
          format: int64
          default: 50
      - description: offset is the next index number from which the response will start. The response offset value can be used along with continue token for the pagination.
        in: query
        name: offset
        schema:
          type: integer
          format: int64
      - description: continue token to paginate the subsequent data items
        in: query
        name: continue
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1TeamsSummary'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Retrieves a list of team summary
      tags:
      - teams
    post:
      operationId: v1TeamsSummaryGet
      responses:
        '200':
          description: An array of teams summary items
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1TeamsSummaryList'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Retrieves a list of teams summary with provided filter spec
      tags:
      - teams
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1TeamsSummarySpec'
  /v1/teams/{uid}:
    parameters:
    - in: path
      name: uid
      required: true
      schema:
        type: string
    delete:
      operationId: v1TeamsUidDelete
      responses:
        '204':
          description: The resource was deleted successfully
      security:
      - ApiKey: []
      - Authorization: []
      summary: Deletes the specified team
      tags:
      - teams
    get:
      operationId: v1TeamsUidGet
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1Team'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Returns the sepcified team
      tags:
      - teams
    patch:
      operationId: v1TeamsUidPatch
      responses:
        '204':
          description: The resource was updated successfully
      security:
      - ApiKey: []
      - Authorization: []
      summary: Patches the specified team
      tags:
      - teams
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1TeamPatch'
        required: true
    put:
      operationId: v1TeamsUidUpdate
      responses:
        '204':
          description: The resource was updated successfully
      security:
      - ApiKey: []
      - Authorization: []
      summary: Updates the sepcified team
      tags:
      - teams
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1Team'
  /v1/teams/{uid}/projects:
    parameters:
    - in: path
      name: uid
      required: true
      schema:
        type: string
    get:
      operationId: v1TeamsProjectRoles
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1ProjectRolesEntity'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Returns the specified team's project and roles data
      tags:
      - teams
    put:
      operationId: v1TeamsProjectRolesPut
      responses:
        '204':
          description: The resource was updated successfully
      security:
      - ApiKey: []
      - Authorization: []
      summary: Updates the projects and roles for the specified team
      tags:
      - teams
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1ProjectRolesPatch'
        required: true
  /v1/teams/{uid}/resourceRoles:
    parameters:
    - in: path
      name: uid
      required: true
      schema:
        type: string
    get:
      description: Returns resource roles for team
      operationId: v1TeamsUidResourceRoles
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1ResourceRoles'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Returns the specified individual and resource roles for a team
      tags:
      - teams
    post:
      description: Resource roles added to specific team
      operationId: v1TeamsUidResourceRolesCreate
      responses:
        '204':
          description: The resource was updated successfully
      security:
      - ApiKey: []
      - Authorization: []
      summary: Add resource roles for team
      tags:
      - teams
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1ResourceRolesUpdateEntity'
        required: true
  /v1/teams/{uid}/resourceRoles/{resourceRoleUid}:
    parameters:
    - in: path
      name: uid
      required: true
      schema:
        type: string
    - in: path
      name: resourceRoleUid
      required: true
      schema:
        type: string
    delete:
      operationId: v1TeamsUidResourceRolesUidDelete
      responses:
        '204':
          description: The resource was deleted successfully
      security:
      - ApiKey: []
      - Authorization: []
      summary: Deleted the resource roles from team
      tags:
      - teams
    patch:
      description: Specific resource roles fo team is updated
      operationId: v1TeamsResourceRolesUidUpdate
      responses:
        '204':
          description: The resource was updated successfully
      security:
      - ApiKey: []
      - Authorization: []
      summary: Updates the resource roles for team
      tags:
      - teams
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1ResourceRolesUpdateEntity'
        required: true
  /v1/teams/{uid}/roles:
    parameters:
    - in: path
      name: uid
      required: true
      schema:
        type: string
    get:
      operationId: V1TeamsUidTenantRolesGet
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1TeamTenantRolesEntity'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Returns the specified team's tenant roles
      tags:
      - teams
    put:
      operationId: V1TeamsUidTenantRolesUpdate
      responses:
        '204':
          description: The resource was updated successfully
      security:
      - ApiKey: []
      - Authorization: []
      summary: Updates the tenant roles of the specified team
      tags:
      - teams
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1TeamTenantRolesUpdate'
        required: true
components:
  schemas:
    v1TeamSpec:
      description: Team specifications
      properties:
        roles:
          items:
            type: string
          type: array
          uniqueItems: true
        sources:
          items:
            type: string
          type: array
          uniqueItems: true
        users:
          items:
            type: string
          type: array
          uniqueItems: true
    v1UidRoleSummary:
      properties:
        inheritedRoles:
          items:
            $ref: '#/components/schemas/v1UidSummary'
          type: array
        name:
          type: string
        roles:
          items:
            $ref: '#/components/schemas/v1UidSummary'
          type: array
        uid:
          type: string
      type: object
    v1TeamSummarySortSpec:
      properties:
        field:
          $ref: '#/components/schemas/v1TeamSummarySortFields'
        order:
          $ref: '#/components/schemas/v1SortOrder'
    v1ObjectMeta:
      description: ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
      properties:
        annotations:
          additionalProperties:
            type: string
          description: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
          type: object
        creationTimestamp:
          $ref: '#/components/schemas/v1Time'
          description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.


            Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
        deletionTimestamp:
          $ref: '#/components/schemas/v1Time'
          description: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.


            Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
        labels:
          additionalProperties:
            type: string
          description: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels'
          type: object
        lastModifiedTimestamp:
          $ref: '#/components/schemas/v1Time'
          description: 'LastModifiedTimestamp is a timestamp representing the server time when this object was last modified. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.


            Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
        name:
          description: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
          type: string
        uid:
          description: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.


            Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
          type: string
      type: object
    v1Time:
      description: Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.
      format: date-time
      type: string
    v1Uid:
      properties:
        uid:
          type: string
      required:
      - uid
      type: object
    v1UidSummary:
      properties:
        name:
          type: string
        uid:
          type: string
      type: object
    v1TeamStatus:
      description: Team status
      type: object
    v1TeamSummary:
      description: Team summary
      properties:
        metadata:
          $ref: '#/components/schemas/v1ObjectMeta'
        spec:
          $ref: '#/components/schemas/v1TeamSpecSummary'
        status:
          $ref: '#/components/schemas/v1TeamStatus'
      type: object
    v1ProjectRolesPatch:
      properties:
        projects:
          items:
            properties:
              projectUid:
                type: string
              roles:
                items:
                  type: string
                type: array
            type: object
          type: array
      type: object
    v1Team:
      description: Team information
      properties:
        metadata:
          $ref: '#/components/schemas/v1ObjectMeta'
        spec:
          $ref: '#/components/schemas/v1TeamSpec'
        status:
          $ref: '#/components/schemas/v1TeamStatus'
      type: object
    v1TeamsFilterSpec:
      description: Teams filter spec
      properties:
        name:
          $ref: '#/components/schemas/v1FilterString'
    v1ResourceRolesUpdateEntity:
      properties:
        filterRefs:
          items:
            type: string
          type: array
        projectUids:
          items:
            type: string
          type: array
        roles:
          items:
            type: string
          type: array
      type: object
    v1ResourceRoles:
      properties:
        resourceRoles:
          items:
            $ref: '#/components/schemas/v1ResourceRolesEntity'
          type: array
      type: object
    v1TeamSpecSummary:
      properties:
        emailId:
          type: string
        projects:
          items:
            $ref: '#/components/schemas/v1UidSummary'
          type: array
        roles:
          items:
            $ref: '#/components/schemas/v1UidSummary'
          type: array
        users:
          items:
            $ref: '#/components/schemas/v1UidSummary'
          type: array
      type: object
    v1TeamSummarySortFields:
      enum:
      - name
      - creationTimestamp
      type:
      - string
      - 'null'
    v1Teams:
      properties:
        items:
          items:
            $ref: '#/components/schemas/v1Team'
          type: array
          uniqueItems: true
        listmeta:
          $ref: '#/components/schemas/v1ListMetaData'
      required:
      - items
      type: object
    v1ResourceRolesEntity:
      properties:
        filterRefs:
          items:
            $ref: '#/components/schemas/v1UidSummary'
          type: array
        projectUids:
          items:
            $ref: '#/components/schemas/v1UidSummary'
          type: array
        roles:
          items:
            $ref: '#/components/schemas/v1UidSummary'
          type: array
        uid:
          type: string
      type: object
    v1SortOrder:
      default: asc
      enum:
      - asc
      - desc
      type: string
    v1ProjectRolesEntity:
      properties:
        projects:
          items:
            $ref: '#/components/schemas/v1UidRoleSummary'
          type: array
      type: object
    v1TeamTenantRolesEntity:
      properties:
        roles:
          items:
            $ref: '#/components/schemas/v1UidSummary'
          type: array
      type: object
    v1TeamsSummarySpec:
      description: Teams filter summary spec
      properties:
        filter:
          $ref: '#/components/schemas/v1TeamsFilterSpec'
        sort:
          items:
            $ref: '#/components/schemas/v1TeamSummarySortSpec'
          type: array
          uniqueItems: true
    v1TeamPatch:
      items:
        $ref: '#/components/schemas/v1HttpPatch'
      type: array
    v1TeamTenantRolesUpdate:
      properties:
        roles:
          items:
            type: string
          type: array
      type: object
    v1ListMetaData:
      description: ListMeta describes metadata for the resource listing
      properties:
        continue:
          description: Next token for the pagination. Next token is equal to empty string indicates end of result set.
          type: string
          x-omitempty: false
        count:
          description: Total count of the resources which might change during pagination based on the resources addition or deletion
          type: integer
          x-omitempty: false
        limit:
          description: Number of records feteched
          type: integer
          x-omitempty: false
        offset:
          description: The next offset for the pagination. Starting index for which next request will be placed.
          type: integer
          x-omitempty: false
      type: object
    v1TeamsSummary:
      description: Deprecated, Use v1UsersSummaryList - Returns User summary
      properties:
        items:
          items:
            $ref: '#/components/schemas/v1TeamSummary'
          type: array
          uniqueItems: true
        listmeta:
          $ref: '#/components/schemas/v1ListMetaData'
      required:
      - items
      type: object
    v1FilterString:
      properties:
        beginsWith:
          type:
          - string
          - 'null'
        contains:
          type:
          - string
          - 'null'
        eq:
          type:
          - string
          - 'null'
        ignoreCase:
          default: true
          type: boolean
        ne:
          type:
          - string
          - 'null'
      type: object
    v1TeamsSummaryList:
      description: Returns Team summary
      properties:
        items:
          items:
            $ref: '#/components/schemas/v1TeamSummary'
          type: array
          uniqueItems: true
      required:
      - items
      type: object
    v1HttpPatch:
      properties:
        from:
          description: A path to the pointer from which reference will be taken
          type: string
        op:
          description: The operation to be performed
          enum:
          - add
          - remove
          - replace
          - move
          - copy
          type: string
        path:
          description: A path to the pointer on which operation will be done
          type: string
        value:
          description: The value to be used within the operations.
          type: object
      required:
      - op
      - path
      type: object
  securitySchemes:
    Authorization:
      description: JWT authorization token obtained using /v1/users/default/login API
      type: apiKey
      name: Authorization
      in: header