v5

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-07-0330110112.1 KB
Applications

Create or update Applications from ApplicationSpec

Create/update Applications from Application Spec

put/organizations/{orgId}/environments/{envId}/applications

Path parameters

orgIdstring required
Example:dedd0e0f-b3e9-4d2f-89cd-b2a9de7cb145

organization ID

envIdstring required
Example:a44e0d1b-9fa9-4d64-8b76-3634623a2e27

environment ID

Query parameters

dryRunboolean
Example:true

For modifying requests, this parameter allow you to test the result of an endpoint without actually persisting the state of the underlying spec.

Request body

hridstring required

A unique human readable id identifying this resource

namestring required

Application's name. Duplicate names can exists.

descriptionstring required

This is where you can clearly state the API’s purpose and what problems it solves to help drive API discovery and adoption by making it easier for developers to find and understand the API’s capabilities.

domainstring

Application's domain.

groupsstring[]

List of groups associated with the Application. This groups are names, HRIDs or UUIDs of existing groups in APIM.

pictureUrlstring

Application's picture Url.

notifyMembersboolean

If true, new members added to the Application spec will be notified when the Application is synced with APIM.

backgroundstring

Application's background url

status'ACTIVE' | 'ARCHIVED'

Application are either ACTIVE or ARCHIVED never actually deleted.

Example request

{
  "hrid": "demo_api",
  "name": "Example Application",
  "description": "This is the documentation explaining purpose of this Application.",
  "domain": "examples.com",
  "groups": [
    "developers"
  ],
  "pictureUrl": "https://upload.wikimedia.org/wikipedia/fr/0/09/Logo_App_Store_d%27Apple.png",
  "background": "https://upload.wikimedia.org/wikipedia/commons/d/df/Green_Red_Gradient_Background.png",
  "primaryOwner": {
    "id": "00f8c9e7-78fc-4907-b8c9-e778fc790750",
    "email": "john.doe@example.com",
    "displayName": "John Doe",
    "type": "USER"
  },
  "settings": {
    "app": {
      "type": "web",
      "clientId": "example-client-id"
    },
    "oauth": {
      "applicationType": "browser",
      "grantTypes": [
        "authorization_code"
      ],
      "redirectUris": [
        "https://myapp.example.com/oauth/callback"
      ]
    },
    "tls": {
      "clientCertificate": "-----BEGIN CERTIFICATE-----\nMIIDfjCCAmagAwIBAgIUfHj3mygGaOfd1u1Uj09L6vY5stcwDQ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gTVupVbhYcNMLOVXO7Q31UEYfC7fxMGqzybXg67EhvzoykXhhYo3YqAjho2yh\num2oEO8b5eQVAwRaooVLh0uqjZCpfN2ozscPpiTM9Pj3xQ==\n-----END CERTIFICATE-----\n"
    }
  },
  "metadata": [
    {
      "format": "STRING"
    }
  ],
  "members": [
    {
      "source": "gravitee",
      "sourceId": "john.doe@example.com",
      "role": "REVIEWER"
    }
  ],
  "status": "ACTIVE"
}

Response

State of the successfully created/updated Applications

hridstring required

A unique human readable id identifying this resource

namestring required

Application's name. Duplicate names can exists.

descriptionstring required

This is where you can clearly state the API’s purpose and what problems it solves to help drive API discovery and adoption by making it easier for developers to find and understand the API’s capabilities.

domainstring

Application's domain.

groupsstring[]

List of groups associated with the Application. This groups are names, HRIDs or UUIDs of existing groups in APIM.

pictureUrlstring

Application's picture Url.

notifyMembersboolean

If true, new members added to the Application spec will be notified when the Application is synced with APIM.

backgroundstring

Application's background url

status'ACTIVE' | 'ARCHIVED'

Application are either ACTIVE or ARCHIVED never actually deleted.

idstring

Resource UUID.

environmentIdstring

The environment ID.

organizationIdstring

The organization ID.

Example response

{
  "hrid": "demo_api",
  "name": "Example Application",
  "description": "This is the documentation explaining purpose of this Application.",
  "domain": "examples.com",
  "groups": [
    "developers"
  ],
  "pictureUrl": "https://upload.wikimedia.org/wikipedia/fr/0/09/Logo_App_Store_d%27Apple.png",
  "background": "https://upload.wikimedia.org/wikipedia/commons/d/df/Green_Red_Gradient_Background.png",
  "primaryOwner": {
    "id": "00f8c9e7-78fc-4907-b8c9-e778fc790750",
    "email": "john.doe@example.com",
    "displayName": "John Doe",
    "type": "USER"
  },
  "settings": {
    "app": {
      "type": "web",
      "clientId": "example-client-id"
    },
    "oauth": {
      "applicationType": "browser",
      "grantTypes": [
        "authorization_code"
      ],
      "redirectUris": [
        "https://myapp.example.com/oauth/callback"
      ]
    },
    "tls": {
      "clientCertificate": "-----BEGIN CERTIFICATE-----\nMIIDfjCCAmagAwIBAgIUfHj3mygGaOf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tKshfYmHB6yxYVz60\npikgTVupVbhYcNMLOVXO7Q31UEYfC7fxMGqzybXg67EhvzoykXhhYo3YqAjho2yh\num2oEO8b5eQVAwRaooVLh0uqjZCpfN2ozscPpiTM9Pj3xQ==\n-----END CERTIFICATE-----\n"
    }
  },
  "metadata": [
    {
      "format": "STRING"
    }
  ],
  "members": [
    {
      "source": "gravitee",
      "sourceId": "john.doe@example.com",
      "role": "REVIEWER"
    }
  ],
  "status": "ACTIVE"
}