Gravitee API Memberships API

The API Memberships API from Gravitee — 6 operation(s) for api memberships.

Operations 10

GET /organizations/{orgId}/environments/{envId}/apis/{api}/members List API members #
POST /organizations/{orgId}/environments/{envId}/apis/{api}/members Add or update an API member #
DELETE /organizations/{orgId}/environments/{envId}/apis/{api}/members Remove an API member #
GET /organizations/{orgId}/environments/{envId}/apis/{api}/members/permissions Get API members #
POST /organizations/{orgId}/environments/{envId}/apis/{api}/members/transfer_ownership Transfer the ownership of the API #
GET /organizations/{orgId}/environments/{envId}/v4/apis/{api}/members List API members #
POST /organizations/{orgId}/environments/{envId}/v4/apis/{api}/members Add or update an API member #
DELETE /organizations/{orgId}/environments/{envId}/v4/apis/{api}/members Remove an API member #
GET /organizations/{orgId}/environments/{envId}/v4/apis/{api}/members/permissions Get API members #
POST /organizations/{orgId}/environments/{envId}/v4/apis/{api}/members/transfer_ownership Transfer the ownership of the API #

Documentation

Specifications

SDKs

Schemas & Data

Other Resources

🔗
ChangeLog
https://documentation.gravitee.io/apim/release-information/changelog
🔗
License
https://github.com/gravitee-io/gravitee-api-management/blob/master/LICENSE.txt
🔗
SDKs
https://github.com/gravitee-io/gravitee-clients-sdk
🔗
SDKs
https://github.com/gravitee-io/terraform-provider-apim
🔗
CLI
https://github.com/gravitee-io/graviteeio-cli
🔗
KubernetesOperator
https://github.com/gravitee-io/gravitee-kubernetes-operator
🔗
HelmChart
https://github.com/gravitee-io/helm-charts
🔗
DockerImage
https://hub.docker.com/r/graviteeio/apim-gateway
🔗
JSONLDContext
https://artifacts.apis.io/gravitee/json-ld/gravitee-context.jsonld
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_apidefinitions.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_apiv4definitions.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_apiresources.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_applications.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_subscriptions.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_managementcontexts.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_sharedpolicygroups.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_groups.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_notifications.yaml
🔗
Plans
https://artifacts.apis.io/gravitee/plans/gravitee-plans-pricing.yml
🔗
FinOps
https://artifacts.apis.io/gravitee/finops/gravitee-finops.yml
🔗
Reference
https://documentation.gravitee.io/am/reference/am-api-reference
🔗
ChangeLog
https://documentation.gravitee.io/am/releases-and-changelog/release-notes
🔗
License
https://github.com/gravitee-io/gravitee-access-management/blob/master/LICENSE
🔗
SDKs
https://github.com/gravitee-io/gravitee-access-management/tree/master/gravitee-am-management-api-sdk-java
🔗
HelmChart
https://github.com/gravitee-io/helm-charts/tree/master/helm/gravitee-am
🔗
DockerImage
https://hub.docker.com/r/graviteeio/am-gateway

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

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

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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

OpenAPI Specification

gravitee-api-memberships-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gravitee.io - Management API Memberships API
  description: Some news resources are in alpha version. This implies that they are likely to be modified or even removed in future versions. They are marked with the 🧪 symbol
  version: 3.20.0
servers:
- url: http://localhost:8083/management
security:
- gravitee-auth: []
tags:
- name: API Memberships
paths:
  /organizations/{orgId}/environments/{envId}/apis/{api}/members:
    get:
      tags:
      - API Memberships
      summary: List API members
      description: User must have the MANAGE_MEMBERS permission to use this service
      operationId: getApiMembers
      parameters:
      - name: api
        in: path
        description: The ID of the API
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: List of API's members
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MembershipListItem'
        '500':
          description: Internal server error
    post:
      tags:
      - API Memberships
      summary: Add or update an API member
      description: User must have the MANAGE_MEMBERS permission to use this service
      operationId: addOrUpdateApiMember
      parameters:
      - name: api
        in: path
        description: The ID of the API
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/ApiMembership'
        required: true
      responses:
        '201':
          description: Member has been added or updated successfully
        '400':
          description: Membership parameter is not valid
        '500':
          description: Internal server error
    delete:
      tags:
      - API Memberships
      summary: Remove an API member
      description: User must have the MANAGE_MEMBERS permission to use this service
      operationId: deleteApiMember
      parameters:
      - name: user
        in: query
        required: true
        schema:
          type: string
      - name: api
        in: path
        description: The ID of the API
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: Member has been removed successfully
        '400':
          description: User does not exist
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/apis/{api}/members/permissions:
    get:
      tags:
      - API Memberships
      summary: Get API members
      description: User must have the MANAGE_MEMBERS permission to use this service
      operationId: getApiMembersPermissions
      parameters:
      - name: api
        in: path
        description: The ID of the API
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: API member's permissions
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MemberEntity'
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/apis/{api}/members/transfer_ownership:
    post:
      tags:
      - API Memberships
      summary: Transfer the ownership of the API
      description: User must have the TRANSFER_OWNERSHIP permission to use this service
      operationId: transferApiMemberOwnership
      parameters:
      - name: api
        in: path
        description: The ID of the API
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/TransferOwnership'
        required: true
      responses:
        '200':
          description: Ownership has been transferred successfully
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/v4/apis/{api}/members:
    get:
      tags:
      - API Memberships
      summary: List API members
      description: User must have the MANAGE_MEMBERS permission to use this service
      operationId: getApiMembers_1
      parameters:
      - name: api
        in: path
        description: The ID of the API
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: List of API's members
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MembershipListItem'
        '500':
          description: Internal server error
    post:
      tags:
      - API Memberships
      summary: Add or update an API member
      description: User must have the MANAGE_MEMBERS permission to use this service
      operationId: addOrUpdateApiMember_1
      parameters:
      - name: api
        in: path
        description: The ID of the API
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/ApiMembership'
        required: true
      responses:
        '201':
          description: Member has been added or updated successfully
        '400':
          description: Membership parameter is not valid
        '500':
          description: Internal server error
    delete:
      tags:
      - API Memberships
      summary: Remove an API member
      description: User must have the MANAGE_MEMBERS permission to use this service
      operationId: deleteApiMember_1
      parameters:
      - name: user
        in: query
        required: true
        schema:
          type: string
      - name: api
        in: path
        description: The ID of the API
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: Member has been removed successfully
        '400':
          description: User does not exist
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/v4/apis/{api}/members/permissions:
    get:
      tags:
      - API Memberships
      summary: Get API members
      description: User must have the MANAGE_MEMBERS permission to use this service
      operationId: getApiMembersPermissions_1
      parameters:
      - name: api
        in: path
        description: The ID of the API
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: API member's permissions
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MemberEntity'
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/v4/apis/{api}/members/transfer_ownership:
    post:
      tags:
      - API Memberships
      summary: Transfer the ownership of the API
      description: User must have the TRANSFER_OWNERSHIP permission to use this service
      operationId: transferApiMemberOwnership_1
      parameters:
      - name: api
        in: path
        description: The ID of the API
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/TransferOwnership'
        required: true
      responses:
        '200':
          description: Ownership has been transferred successfully
        '500':
          description: Internal server error
components:
  schemas:
    MemberEntity:
      type: object
      properties:
        created_at:
          type: string
          format: date-time
        displayName:
          type: string
        email:
          type: string
        id:
          type: string
        permissions:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
        referenceId:
          type: string
        referenceType:
          $ref: '#/components/schemas/MembershipReferenceType'
        roles:
          type: array
          items:
            $ref: '#/components/schemas/RoleEntity'
        type:
          $ref: '#/components/schemas/MembershipMemberType'
        updated_at:
          type: string
          format: date-time
    MembershipMemberType:
      type: string
      description: Type's name
      example: USER
      enum:
      - USER
      - GROUP
    MembershipListItem:
      type: object
      properties:
        displayName:
          type: string
        id:
          type: string
        role:
          type: string
    ApiMembership:
      required:
      - role
      type: object
      properties:
        id:
          type: string
          description: User's technical identifier.
        reference:
          type: string
          description: User's reference for user providing from an identity provider.
        role:
          type: string
          description: Role's name
    TransferOwnership:
      required:
      - role
      - type
      type: object
      properties:
        id:
          type: string
          description: User's technical identifier.
        reference:
          type: string
          description: User's reference for user providing from an identity provider.
        role:
          type: string
          description: Role's name
        type:
          $ref: '#/components/schemas/MembershipMemberType'
    MembershipReferenceType:
      type: string
      enum:
      - APPLICATION
      - API
      - GROUP
      - ENVIRONMENT
      - ORGANIZATION
      - PLATFORM
    RoleEntity:
      required:
      - id
      type: object
      properties:
        apiPrimaryOwner:
          type: boolean
        default:
          type: boolean
        description:
          type: string
        id:
          type: string
        name:
          type: string
        permissions:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
        scope:
          $ref: '#/components/schemas/RoleScope'
        system:
          type: boolean
    RoleScope:
      type: string
      enum:
      - API
      - APPLICATION
      - GROUP
      - ENVIRONMENT
      - ORGANIZATION
      - PLATFORM
  securitySchemes:
    gravitee-auth:
      type: http
      scheme: basic