Heroku Team API

The Team API from Heroku — 3 operation(s) for team.

GitHub OpenAPI

Operations 7

GET /teams List #
POST /teams Create #
GET /teams/{team_identity} Info #
PATCH /teams/{team_identity} Update #
DELETE /teams/{team_identity} Delete #
GET /enterprise-accounts/{enterprise-account_identity}/teams List by Enterprise Account #
POST /enterprise-accounts/{enterprise-account_identity}/teams Create in Enterprise Account #

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/heroku:heroku-team-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

heroku-team-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Heroku Platform Team API
  version: '3'
  description: The platform API empowers developers to automate, extend and combine Heroku with other services. Converted mechanically from the provider-published JSON Hyper-Schema at https://api.heroku.com/schema.
  contact:
    name: Heroku
    url: https://devcenter.heroku.com/articles/platform-api-reference
servers:
- url: https://api.heroku.com
security:
- bearerAuth: []
tags:
- name: Team
paths:
  /teams:
    get:
      operationId: teamList
      summary: List
      description: List teams in which you are a member.
      tags:
      - Team
      parameters: []
      x-hyper-schema-rel: instances
      x-source: https://api.heroku.com/schema#/definitions/team/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/team'
                type:
                - array
    post:
      operationId: teamCreate
      summary: Create
      description: Create a new team.
      tags:
      - Team
      parameters: []
      x-hyper-schema-rel: create
      x-source: https://api.heroku.com/schema#/definitions/team/links
      requestBody:
        content:
          application/json:
            schema:
              properties:
                name:
                  $ref: '#/components/schemas/team/definitions/name'
                address_1:
                  $ref: '#/components/schemas/team/definitions/address_1'
                address_2:
                  $ref: '#/components/schemas/team/definitions/address_2'
                card_number:
                  $ref: '#/components/schemas/team/definitions/card_number'
                city:
                  $ref: '#/components/schemas/team/definitions/city'
                country:
                  $ref: '#/components/schemas/team/definitions/country'
                cvv:
                  $ref: '#/components/schemas/team/definitions/cvv'
                expiration_month:
                  $ref: '#/components/schemas/team/definitions/expiration_month'
                expiration_year:
                  $ref: '#/components/schemas/team/definitions/expiration_year'
                first_name:
                  $ref: '#/components/schemas/team/definitions/first_name'
                last_name:
                  $ref: '#/components/schemas/team/definitions/last_name'
                other:
                  $ref: '#/components/schemas/team/definitions/other'
                postal_code:
                  $ref: '#/components/schemas/team/definitions/postal_code'
                state:
                  $ref: '#/components/schemas/team/definitions/state'
                nonce:
                  $ref: '#/components/schemas/team/definitions/nonce'
                device_data:
                  $ref: '#/components/schemas/team/definitions/device_data'
              required:
              - name
              type:
              - object
      responses:
        '201':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/team'
  /teams/{team_identity}:
    get:
      operationId: teamInfo
      summary: Info
      description: Info for a team.
      tags:
      - Team
      parameters:
      - name: team_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: self
      x-source: https://api.heroku.com/schema#/definitions/team/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/team'
    patch:
      operationId: teamUpdate
      summary: Update
      description: Update team properties.
      tags:
      - Team
      parameters:
      - name: team_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: update
      x-source: https://api.heroku.com/schema#/definitions/team/links
      requestBody:
        content:
          application/json:
            schema:
              properties:
                default:
                  $ref: '#/components/schemas/team/definitions/default'
                name:
                  $ref: '#/components/schemas/team/definitions/name'
              type:
              - object
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/team'
    delete:
      operationId: teamDelete
      summary: Delete
      description: Delete an existing team.
      tags:
      - Team
      parameters:
      - name: team_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: destroy
      x-source: https://api.heroku.com/schema#/definitions/team/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/team'
  /enterprise-accounts/{enterprise-account_identity}/teams:
    get:
      operationId: teamListByEnterpriseAccount
      summary: List by Enterprise Account
      description: List teams for an enterprise account.
      tags:
      - Team
      parameters:
      - name: enterprise-account_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: instances
      x-source: https://api.heroku.com/schema#/definitions/team/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/team'
                type:
                - array
    post:
      operationId: teamCreateInEnterpriseAccount
      summary: Create in Enterprise Account
      description: Create a team in an enterprise account.
      tags:
      - Team
      parameters:
      - name: enterprise-account_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: create
      x-source: https://api.heroku.com/schema#/definitions/team/links
      requestBody:
        content:
          application/json:
            schema:
              properties:
                name:
                  $ref: '#/components/schemas/team/definitions/name'
              required:
              - name
              type:
              - object
      responses:
        '201':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/team'
components:
  schemas:
    identity-provider:
      description: Identity Providers represent the SAML configuration of teams or an Enterprise account
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: production
      strictProperties: true
      title: Heroku Platform API - Identity Provider
      type:
      - object
      definitions:
        certificate:
          description: 'raw contents of the public certificate (eg: .crt or .pem file)'
          example: '-----BEGIN CERTIFICATE----- ...'
          readOnly: false
          type:
          - string
        created_at:
          description: when provider record was created
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        entity_id:
          description: URL identifier provided by the identity provider
          example: https://customer-domain.idp.com
          readOnly: false
          type:
          - string
        id:
          description: unique identifier of this identity provider
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        name:
          description: user-friendly unique identifier for this identity provider
          example: acme-sso
          type:
          - string
        slo_target_url:
          description: single log out URL for this identity provider
          example: https://example.com/idp/logout
          readOnly: false
          type:
          - string
        sso_target_url:
          description: single sign on URL for this identity provider
          example: https://example.com/idp/login
          readOnly: false
          type:
          - string
        updated_at:
          description: when the identity provider record was updated
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        owner:
          description: entity that owns this identity provider
          properties:
            id:
              description: unique identifier of the owner
              example: 01234567-89ab-cdef-0123-456789abcdef
              format: uuid
              readOnly: true
              type:
              - string
            name:
              description: name of the owner
              example: acme
              readOnly: true
              type:
              - string
            type:
              description: type of the owner
              enum:
              - team
              - enterprise-account
              example: team
              readOnly: true
              type:
              - string
          readOnly: false
          required:
          - id
          - type
          type:
          - object
      properties:
        certificate:
          $ref: '#/components/schemas/identity-provider/definitions/certificate'
        created_at:
          $ref: '#/components/schemas/identity-provider/definitions/created_at'
        entity_id:
          $ref: '#/components/schemas/identity-provider/definitions/entity_id'
        id:
          $ref: '#/components/schemas/identity-provider/definitions/id'
        slo_target_url:
          $ref: '#/components/schemas/identity-provider/definitions/slo_target_url'
        sso_target_url:
          $ref: '#/components/schemas/identity-provider/definitions/sso_target_url'
        organization:
          description: team associated with this identity provider
          properties:
            name:
              $ref: '#/components/schemas/team/definitions/name'
          type:
          - 'null'
          - object
        updated_at:
          $ref: '#/components/schemas/identity-provider/definitions/updated_at'
        owner:
          $ref: '#/components/schemas/identity-provider/definitions/owner'
    team:
      $schema: http://json-schema.org/draft-04/hyper-schema
      description: Teams allow you to manage access to a shared group of applications and other resources.
      stability: development
      strictProperties: true
      title: Heroku Platform API - Team
      type:
      - object
      definitions:
        created_at:
          description: when the team was created
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        credit_card_collections:
          description: whether charges incurred by the team are paid by credit card.
          example: true
          readOnly: true
          type:
          - boolean
        default:
          description: whether to use this team when none is specified
          example: true
          readOnly: false
          type:
          - boolean
        enterprise_account:
          type:
          - 'null'
          - object
          properties:
            id:
              $ref: '#/components/schemas/enterprise-account/definitions/id'
            name:
              $ref: '#/components/schemas/enterprise-account/definitions/name'
        id:
          description: unique identifier of team
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/team/definitions/name'
          - $ref: '#/components/schemas/team/definitions/id'
        identity_provider:
          description: Identity Provider associated with the Team
          strictProperties: true
          type:
          - 'null'
          - object
          properties:
            id:
              $ref: '#/components/schemas/identity-provider/definitions/id'
            name:
              $ref: '#/components/schemas/identity-provider/definitions/name'
            owner:
              $ref: '#/components/schemas/identity-provider/definitions/owner'
        device_data:
          type:
          - string
          - 'null'
          description: Device data string generated by the client
          example: VGhpcyBpcyBhIGdvb2QgZGF5IHRvIGRpZQ==
        nonce:
          type:
          - string
          - 'null'
          description: Nonce generated by Braintree hosted fields form
          example: VGhpcyBpcyBhIGdvb2QgZGF5IHRvIGRpZQ==
        address_1:
          type:
          - string
          description: street address line 1
          example: 40 Hickory Lane
        address_2:
          type:
          - string
          - 'null'
          description: street address line 2
          example: Suite 103
        card_number:
          type:
          - string
          - 'null'
          description: encrypted card number of payment method
          example: encrypted-card-number
        city:
          type:
          - string
          description: city
          example: San Francisco
        country:
          type:
          - string
          description: country
          example: US
        cvv:
          type:
          - string
          - 'null'
          description: card verification value
          example: '123'
        expiration_month:
          type:
          - string
          - 'null'
          description: expiration month
          example: '11'
        expiration_year:
          type:
          - string
          - 'null'
          description: expiration year
          example: '2014'
        first_name:
          type:
          - string
          description: the first name for payment method
          example: Jason
        last_name:
          type:
          - string
          description: the last name for payment method
          example: Walker
        other:
          type:
          - string
          - 'null'
          description: metadata
          example: Additional information for payment method
        postal_code:
          type:
          - string
          description: postal code
          example: '90210'
        state:
          type:
          - string
          description: state
          example: CA
        membership_limit:
          description: upper limit of members allowed in a team.
          example: 25
          readOnly: true
          type:
          - number
          - 'null'
        name:
          description: unique name of team
          example: example
          readOnly: true
          type:
          - string
        provisioned_licenses:
          description: whether the team is provisioned licenses by salesforce.
          example: true
          readOnly: true
          type:
          - boolean
        role:
          description: role in the team
          enum:
          - admin
          - collaborator
          - member
          - owner
          - null
          example: admin
          readOnly: true
          type:
          - 'null'
          - string
        type:
          description: type of team.
          example: team
          enum:
          - enterprise
          - team
          readOnly: true
          type:
          - string
        updated_at:
          description: when the team was updated
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
      properties:
        id:
          $ref: '#/components/schemas/team/definitions/id'
        created_at:
          $ref: '#/components/schemas/team/definitions/created_at'
        credit_card_collections:
          $ref: '#/components/schemas/team/definitions/credit_card_collections'
        default:
          $ref: '#/components/schemas/team/definitions/default'
        enterprise_account:
          $ref: '#/components/schemas/team/definitions/enterprise_account'
        identity_provider:
          $ref: '#/components/schemas/team/definitions/identity_provider'
        membership_limit:
          $ref: '#/components/schemas/team/definitions/membership_limit'
        name:
          $ref: '#/components/schemas/team/definitions/name'
        provisioned_licenses:
          $ref: '#/components/schemas/team/definitions/provisioned_licenses'
        role:
          $ref: '#/components/schemas/team/definitions/role'
        type:
          $ref: '#/components/schemas/team/definitions/type'
        updated_at:
          $ref: '#/components/schemas/team/definitions/updated_at'
    enterprise-account:
      $schema: http://json-schema.org/draft-04/hyper-schema
      description: Enterprise accounts allow companies to manage their development teams and billing.
      stability: development
      strictProperties: true
      title: Heroku Platform API - Enterprise Account
      type:
      - object
      definitions:
        created_at:
          description: when the enterprise account was created
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        id:
          description: unique identifier of the enterprise account
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/enterprise-account/definitions/id'
          - $ref: '#/components/schemas/enterprise-account/definitions/name'
        identity_provider:
          description: Identity Provider associated with the Enterprise Account
          strictProperties: true
          type:
          - 'null'
          - object
          properties:
            id:
              $ref: '#/components/schemas/identity-provider/definitions/id'
            name:
              $ref: '#/components/schemas/identity-provider/definitions/name'
            owner:
              $ref: '#/components/schemas/identity-provider/definitions/owner'
        name:
          description: unique name of the enterprise account
          example: example
          readOnly: true
          type:
          - string
        updated_at:
          description: when the enterprise account was updated
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        permissions:
          description: the current user's permissions for this enterprise account
          readOnly: true
          type:
          - array
          items:
            example: view
            type:
            - string
        trial:
          description: whether the enterprise account is a trial or not
          example: false
          readOnly: true
          type:
          - boolean
        partner_benefits:
          description: whether the enterprise account is part of the Salesforce Partner Program
          example: false
          readOnly: true
          type:
          - boolean
        required_email_domains:
          description: email domains that members of the Enterprise Account and its teams are restricted to
          readOnly: false
          type:
          - array
          items:
            example: example.com
            type:
            - string
      properties:
        id:
          $ref: '#/components/schemas/enterprise-account/definitions/id'
        created_at:
          $ref: '#/components/schemas/enterprise-account/definitions/created_at'
        name:
          $ref: '#/components/schemas/enterprise-account/definitions/name'
        updated_at:
          $ref: '#/components/schemas/enterprise-account/definitions/updated_at'
        permissions:
          $ref: '#/components/schemas/enterprise-account/definitions/permissions'
        trial:
          $ref: '#/components/schemas/enterprise-account/definitions/trial'
        partner_benefits:
          $ref: '#/components/schemas/enterprise-account/definitions/partner_benefits'
        identity_provider:
          $ref: '#/components/schemas/enterprise-account/definitions/identity_provider'
        required_email_domains:
          $ref: '#/components/schemas/enterprise-account/definitions/required_email_domains'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'OAuth access token or API key (see https://devcenter.heroku.com/articles/platform-api-reference#authentication). Requests must send Accept: application/vnd.heroku+json; version=3.'
x-generated-from: json-hyper-schema
x-source: https://api.heroku.com/schema
x-generated: '2026-11-25'