Heroku Space Access API

The Space Access API from Heroku — 2 operation(s) for space access.

GitHub OpenAPI

Operations 3

GET /spaces/{space_identity}/members/{account_identity} Info #
PATCH /spaces/{space_identity}/members/{account_identity} Update #
GET /spaces/{space_identity}/members List #

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-space-access-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-space-access-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Heroku Platform Space Access 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: Space Access
paths:
  /spaces/{space_identity}/members/{account_identity}:
    get:
      operationId: spaceAppAccessInfo
      summary: Info
      description: List permissions for a given user on a given space.
      tags:
      - Space Access
      parameters:
      - name: space_identity
        in: path
        required: true
        schema:
          type: string
      - name: account_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: self
      x-source: https://api.heroku.com/schema#/definitions/space-app-access/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/space-app-access'
    patch:
      operationId: spaceAppAccessUpdate
      summary: Update
      description: Update an existing user's set of permissions on a space.
      tags:
      - Space Access
      parameters:
      - name: space_identity
        in: path
        required: true
        schema:
          type: string
      - name: account_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: update
      x-source: https://api.heroku.com/schema#/definitions/space-app-access/links
      requestBody:
        content:
          application/json:
            schema:
              type:
              - object
              required:
              - permissions
              properties:
                permissions:
                  type:
                  - array
                  items:
                    type:
                    - object
                    properties:
                      name:
                        type:
                        - string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/space-app-access'
  /spaces/{space_identity}/members:
    get:
      operationId: spaceAppAccessList
      summary: List
      description: List all users and their permissions on a space.
      tags:
      - Space Access
      parameters:
      - name: space_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: instances
      x-source: https://api.heroku.com/schema#/definitions/space-app-access/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/space-app-access'
                type:
                - array
components:
  schemas:
    space:
      description: A space is an isolated, highly available, secure app execution environment.
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: production
      strictProperties: true
      title: Heroku Platform API - Space
      type:
      - object
      definitions:
        created_at:
          description: when space was created
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        id:
          description: unique identifier of space
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/space/definitions/id'
          - $ref: '#/components/schemas/space/definitions/name'
        name:
          description: unique name of space
          example: nasa
          readOnly: false
          pattern: ^[a-z0-9](?:[a-z0-9]|-(?!-))+[a-z0-9]$
          type:
          - string
        shield:
          description: true if this space has shield enabled
          readOnly: true
          example: true
          type:
          - boolean
        state:
          description: availability of this space
          enum:
          - allocating
          - allocated
          - deleting
          example: allocated
          readOnly: true
          type:
          - string
        updated_at:
          description: when space was updated
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        log_drain_url:
          description: URL to which all apps will drain logs. Only settable during space creation and enables direct logging. Must use HTTPS.
          example: https://example.com/logs
          type:
          - string
        cidr:
          description: The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
          example: 172.20.20.30/16
          default: 10.0.0.0/16
          pattern: ^((?:10|172\.(?:1[6-9]|2[0-9]|3[01])|192\.168)\..*.+\/16)$
          readOnly: false
          type:
          - string
        data_cidr:
          description: The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that's automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
          example: 10.2.0.0/16
          readOnly: false
          type:
          - string
        generation:
          description: Generation of the Heroku platform for this space
          readOnly: true
          type:
          - object
          properties:
            id:
              description: unique identifier of the generation of the Heroku platform for this space
              example: 01234567-89ab-cdef-0123-456789abcdef
              format: uuid
              readOnly: true
              type:
              - string
            name:
              description: unique name of the generation of the Heroku platform for this space
              example: cedar
              readOnly: true
              type:
              - string
        supported_architectures:
          description: CPU architectures available for dynos in this space.
          example: '[arm64]'
          readOnly: true
          type:
          - array
      properties:
        created_at:
          $ref: '#/components/schemas/space/definitions/created_at'
        id:
          $ref: '#/components/schemas/space/definitions/id'
        name:
          $ref: '#/components/schemas/space/definitions/name'
        organization:
          description: organization that owns this space
          properties:
            name:
              $ref: '#/components/schemas/team/definitions/name'
          type:
          - object
        team:
          description: team that owns this space
          properties:
            id:
              $ref: '#/components/schemas/team/definitions/id'
            name:
              $ref: '#/components/schemas/team/definitions/name'
          type:
          - object
        region:
          description: identity of space region
          properties:
            id:
              $ref: '#/components/schemas/region/definitions/id'
            name:
              $ref: '#/components/schemas/region/definitions/name'
          strictProperties: true
          type:
          - object
        shield:
          $ref: '#/components/schemas/space/definitions/shield'
        state:
          $ref: '#/components/schemas/space/definitions/state'
        updated_at:
          $ref: '#/components/schemas/space/definitions/updated_at'
        cidr:
          $ref: '#/components/schemas/space/definitions/cidr'
        data_cidr:
          $ref: '#/components/schemas/space/definitions/data_cidr'
        generation:
          $ref: '#/components/schemas/space/definitions/generation'
        supported_architectures:
          $ref: '#/components/schemas/space/definitions/supported_architectures'
    app:
      description: An app represents the program that you would like to deploy and run on Heroku.
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: production
      strictProperties: true
      title: Heroku Platform API - App
      type:
      - object
      definitions:
        archived_at:
          description: when app was archived
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - 'null'
          - string
        buildpack_provided_description:
          description: description from buildpack of app
          example: Ruby/Rack
          readOnly: true
          type:
          - 'null'
          - string
        created_at:
          description: when app was created
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        generation:
          description: Generation of the Heroku platform for this app
          readOnly: true
          type:
          - object
          properties:
            id:
              description: unique identifier of the generation of the Heroku platform for this app
              example: 01234567-89ab-cdef-0123-456789abcdef
              format: uuid
              readOnly: true
              type:
              - string
            name:
              description: unique name of the generation of the Heroku platform for this app
              example: cedar
              readOnly: true
              type:
              - string
        git_url:
          description: git repo URL of app
          example: https://git.heroku.com/example.git
          pattern: ^https://git\.heroku\.com/[a-z][a-z0-9-]{2,29}\.git$
          readOnly: true
          type:
          - string
        id:
          description: unique identifier of app
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/app/definitions/id'
          - $ref: '#/components/schemas/app/definitions/name'
        maintenance:
          default: false
          description: maintenance status of app
          example: false
          readOnly: false
          type:
          - boolean
        name:
          description: unique name of app
          example: example
          pattern: ^[a-z][a-z0-9-]{1,28}[a-z0-9]$
          readOnly: false
          type:
          - string
        released_at:
          default: null
          description: when app was released
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - 'null'
          - string
        repo_size:
          default: null
          description: git repo size in bytes of app
          example: 0
          readOnly: true
          type:
          - integer
          - 'null'
        slug_size:
          default: null
          description: slug size in bytes of app
          example: 0
          readOnly: true
          type:
          - integer
          - 'null'
        updated_at:
          description: when app was updated
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        web_url:
          description: web URL of app
          example: https://example.herokuapp.com/
          format: uri
          pattern: ^https?://[a-z][a-z0-9-]{3,43}\.herokuapp\.com/$
          readOnly: true
          type:
          - 'null'
          - string
        acm:
          description: ACM status of this app
          default: false
          example: false
          readOnly: true
          type:
          - boolean
      properties:
        acm:
          $ref: '#/components/schemas/app/definitions/acm'
        archived_at:
          $ref: '#/components/schemas/app/definitions/archived_at'
        buildpack_provided_description:
          $ref: '#/components/schemas/app/definitions/buildpack_provided_description'
        build_stack:
          description: identity of the stack that will be used for new builds
          properties:
            id:
              $ref: '#/components/schemas/stack/definitions/id'
            name:
              $ref: '#/components/schemas/stack/definitions/name'
          strictProperties: true
          type:
          - object
        created_at:
          $ref: '#/components/schemas/app/definitions/created_at'
        generation:
          $ref: '#/components/schemas/app/definitions/generation'
        git_url:
          $ref: '#/components/schemas/app/definitions/git_url'
        id:
          $ref: '#/components/schemas/app/definitions/id'
        internal_routing:
          $ref: '#/components/schemas/team-app/definitions/internal_routing'
        maintenance:
          $ref: '#/components/schemas/app/definitions/maintenance'
        name:
          $ref: '#/components/schemas/app/definitions/name'
        owner:
          description: identity of app owner
          properties:
            email:
              $ref: '#/components/schemas/account/definitions/email'
            id:
              $ref: '#/components/schemas/account/definitions/id'
          strictProperties: true
          type:
          - object
        organization:
          description: identity of team
          properties:
            id:
              $ref: '#/components/schemas/team/definitions/id'
            name:
              $ref: '#/components/schemas/team/definitions/name'
          type:
          - 'null'
          - object
        team:
          description: identity of team
          properties:
            id:
              $ref: '#/components/schemas/team/definitions/id'
            name:
              $ref: '#/components/schemas/team/definitions/name'
          type:
          - 'null'
          - object
        region:
          description: identity of app region
          properties:
            id:
              $ref: '#/components/schemas/region/definitions/id'
            name:
              $ref: '#/components/schemas/region/definitions/name'
          strictProperties: true
          type:
          - object
        released_at:
          $ref: '#/components/schemas/app/definitions/released_at'
        repo_size:
          $ref: '#/components/schemas/app/definitions/repo_size'
        slug_size:
          $ref: '#/components/schemas/app/definitions/slug_size'
        space:
          description: identity of space
          properties:
            id:
              $ref: '#/components/schemas/space/definitions/id'
            name:
              $ref: '#/components/schemas/space/definitions/name'
            shield:
              $ref: '#/components/schemas/space/definitions/shield'
          type:
          - 'null'
          - object
        stack:
          description: identity of app stack
          properties:
            id:
              $ref: '#/components/schemas/stack/definitions/id'
            name:
              $ref: '#/components/schemas/stack/definitions/name'
          strictProperties: true
          type:
          - object
        updated_at:
          $ref: '#/components/schemas/app/definitions/updated_at'
        web_url:
          $ref: '#/components/schemas/app/definitions/web_url'
    account:
      description: An account represents an individual signed up to use the Heroku platform.
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: production
      strictProperties: true
      title: Heroku Platform API - Account
      type:
      - object
      definitions:
        allow_tracking:
          default: true
          description: whether to allow third party web activity tracking
          example: true
          readOnly: false
          type:
          - boolean
        beta:
          default: false
          description: whether allowed to utilize beta Heroku features
          example: false
          readOnly: false
          type:
          - boolean
        created_at:
          description: when account was created
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        country_of_residence:
          description: country where account owner resides
          example: United States
          readOnly: false
          type:
          - string
          - 'null'
        email:
          description: unique email address of account
          example: username@example.com
          format: email
          readOnly: false
          type:
          - string
        federated:
          description: whether the user is federated and belongs to an Identity Provider
          example: false
          readOnly: true
          type:
          - boolean
        id:
          description: unique identifier of an account
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/account/definitions/email'
          - $ref: '#/components/schemas/account/definitions/id'
          - $ref: '#/components/schemas/account/definitions/self'
        last_login:
          description: when account last authorized with Heroku
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
          - 'null'
        name:
          description: full name of the account owner
          example: Tina Edmonds
          readOnly: false
          type:
          - string
          - 'null'
        password:
          description: current password on the account
          example: currentpassword
          readOnly: true
          type:
          - string
        self:
          description: Implicit reference to currently authorized user
          enum:
          - '~'
          example: '~'
          readOnly: true
          type:
          - string
        sms_number:
          description: SMS number of account
          example: +1 ***-***-1234
          readOnly: true
          type:
          - string
          - 'null'
        suspended_at:
          description: when account was suspended
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
          - 'null'
        delinquent_at:
          description: when account became delinquent
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
          - 'null'
        two_factor_authentication:
          description: whether two-factor auth is enabled on the account
          example: false
          readOnly: true
          type:
          - boolean
        updated_at:
          description: when account was updated
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        verified:
          default: false
          description: whether account has been verified with billing information
          example: false
          readOnly: true
          type:
          - boolean
      properties:
        allow_tracking:
          $ref: '#/components/schemas/account/definitions/allow_tracking'
        beta:
          $ref: '#/components/schemas/account/definitions/beta'
        created_at:
          $ref: '#/components/schemas/account/definitions/created_at'
        email:
          $ref: '#/components/schemas/account/definitions/email'
        federated:
          $ref: '#/components/schemas/account/definitions/federated'
        id:
          $ref: '#/components/schemas/account/definitions/id'
        identity_provider:
          description: Identity Provider details for federated users.
          strictProperties: true
          properties:
            id:
              $ref: '#/components/schemas/identity-provider/definitions/id'
            name:
              $ref: '#/components/schemas/identity-provider/definitions/name'
            team:
              type:
              - object
              properties:
                name:
                  $ref: '#/components/schemas/team/definitions/name'
            organization:
              type:
              - object
              properties:
                name:
                  $ref: '#/components/schemas/team/definitions/name'
            owner:
              $ref: '#/components/schemas/identity-provider/definitions/owner'
          type:
          - object
          - 'null'
        last_login:
          $ref: '#/components/schemas/account/definitions/last_login'
        name:
          $ref: '#/components/schemas/account/definitions/name'
        sms_number:
          $ref: '#/components/schemas/account/definitions/sms_number'
        suspended_at:
          $ref: '#/components/schemas/account/definitions/suspended_at'
        delinquent_at:
          $ref: '#/components/schemas/account/definitions/delinquent_at'
        two_factor_authentication:
          $ref: '#/components/schemas/account/definitions/two_factor_authentication'
        updated_at:
          $ref: '#/components/schemas/account/definitions/updated_at'
        verified:
          $ref: '#/components/schemas/account/definitions/verified'
        country_of_residence:
          $ref: '#/components/schemas/account/definitions/country_of_residence'
        default_organization:
          description: team selected by default
          properties:
            id:
              $ref: '#/components/schemas/team/definitions/id'
            name:
              $ref: '#/components/schemas/team/definitions/name'
          strictProperties: true
          type:
          - object
          - 'null'
        default_team:
          description: team selected by default
          properties:
            id:
              $ref: '#/components/schemas/team/definitions/id'
            name:
              $ref: '#/components/schemas/team/definitions/name'
          strictProperties: true
          type:
          - object
          - 'null'
    space-app-access:
      description: Space access represents the permissions a particular user has on a particular space.
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: prototype
      title: Heroku Platform API - Space Access
      type:
      - object
      definitions:
        id:
          description: unique identifier of the space a user has permissions on
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/space-app-access/definitions/id'
      properties:
        space:
          description: space user belongs to
          properties:
            name:
              $ref: '#/components/schemas/app/definitions/name'
            id:
              $ref: '#/components/schemas/app/definitions/id'
          strictProperties: true
          type:
          - object
        created_at:
          $ref: '#/components/schemas/space/definitions/created_at'
        id:
          $ref: '#/components/schemas/space/definitions/id'
        permissions:
          description: user space permissions
          type:
          - array
          items:
            type:
            - object
            properties:
              description:
                type:
                - string
              name:
                type:
                - string
        updated_at:
          $ref: '#/components/schemas/space/definitions/updated_at'
        user:
          description: identity of user account
          properties:
            email:
              $ref: '#/components/schemas/account/definitions/email'
            id:
              $ref: '#/components/schemas/account/definitions/id'
          strictProperties: true
          type:
          - object
  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'