Heroku Identity Provider API

The Identity Provider API from Heroku — 2 operation(s) for identity provider.

GitHub OpenAPI

Operations 4

GET /teams/{team_name}/identity-providers List By Team #
POST /teams/{team_name}/identity-providers Create By Team #
PATCH /teams/{team_name}/identity-providers/{identity-provider_id} Update By Team #
DELETE /teams/{team_name}/identity-providers/{identity-provider_id} Delete By 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/heroku:heroku-identity-provider-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-identity-provider-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Heroku Platform Identity Provider 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: Identity Provider
paths:
  /teams/{team_name}/identity-providers:
    get:
      operationId: identityProviderListByTeam
      summary: List By Team
      description: Get a list of a team's Identity Providers
      tags:
      - Identity Provider
      parameters:
      - name: team_name
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: instances
      x-source: https://api.heroku.com/schema#/definitions/identity-provider/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/identity-provider'
                type:
                - array
    post:
      operationId: identityProviderCreateByTeam
      summary: Create By Team
      description: Create an Identity Provider for a team
      tags:
      - Identity Provider
      parameters:
      - name: team_name
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: create
      x-source: https://api.heroku.com/schema#/definitions/identity-provider/links
      requestBody:
        content:
          application/json:
            schema:
              properties:
                certificate:
                  $ref: '#/components/schemas/identity-provider/definitions/certificate'
                entity_id:
                  $ref: '#/components/schemas/identity-provider/definitions/entity_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'
              required:
              - certificate
              - sso_target_url
              - entity_id
              type:
              - object
      responses:
        '201':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/identity-provider'
  /teams/{team_name}/identity-providers/{identity-provider_id}:
    patch:
      operationId: identityProviderUpdateByTeam
      summary: Update By Team
      description: Update a team's Identity Provider
      tags:
      - Identity Provider
      parameters:
      - name: team_name
        in: path
        required: true
        schema:
          type: string
      - name: identity-provider_id
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: update
      x-source: https://api.heroku.com/schema#/definitions/identity-provider/links
      requestBody:
        content:
          application/json:
            schema:
              properties:
                certificate:
                  $ref: '#/components/schemas/identity-provider/definitions/certificate'
                entity_id:
                  $ref: '#/components/schemas/identity-provider/definitions/entity_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'
              type:
              - object
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/identity-provider'
    delete:
      operationId: identityProviderDeleteByTeam
      summary: Delete By Team
      description: Delete a team's Identity Provider
      tags:
      - Identity Provider
      parameters:
      - name: team_name
        in: path
        required: true
        schema:
          type: string
      - name: identity-provider_id
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: destroy
      x-source: https://api.heroku.com/schema#/definitions/identity-provider/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/identity-provider'
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'
  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'