{
  "info": {
    "_postman_id": "fd69acce-3f7b-41a4-b0e7-6b3af8ec109a",
    "name": "Gravitee.io - Access Management alerts Plans API",
    "description": "Manage plans (Keyless, API Key, OAuth2, JWT, mTLS, Push)",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:52:11.000Z",
    "updatedAt": "2026-07-28T01:52:11.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-fd69acce-3f7b-41a4-b0e7-6b3af8ec109a"
  },
  "item": [
    {
      "name": "environments",
      "item": [
        {
          "name": "{envId}",
          "item": [
            {
              "name": "apis",
              "item": [
                {
                  "name": "{apiId}",
                  "item": [
                    {
                      "name": "plans",
                      "item": [
                        {
                          "name": "{planId}",
                          "item": [
                            {
                              "name": "_publish",
                              "item": [
                                {
                                  "name": "Publish a Plan",
                                  "id": "be2e5643-6508-482f-91f4-362be8dd622c",
                                  "protocolProfileBehavior": {
                                    "disableBodyPruning": true
                                  },
                                  "request": {
                                    "method": "POST",
                                    "header": [],
                                    "url": {
                                      "raw": "{{baseUrl}}/environments/:envId/apis/:apiId/plans/:planId/_publish",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "environments",
                                        ":envId",
                                        "apis",
                                        ":apiId",
                                        "plans",
                                        ":planId",
                                        "_publish"
                                      ],
                                      "variable": [
                                        {
                                          "id": "3c1a972c-8529-47a4-ab93-c87ad0f672ce",
                                          "key": "envId",
                                          "value": "<string>",
                                          "description": "(Required) The environment identifier"
                                        },
                                        {
                                          "id": "68df7777-aea2-4870-922e-8caa6d3ae1c2",
                                          "key": "apiId",
                                          "value": "<string>",
                                          "description": "(Required) The API identifier"
                                        },
                                        {
                                          "id": "e21f7d2a-ec3d-4d4a-ae98-8c6942b2a099",
                                          "key": "planId",
                                          "value": "<string>",
                                          "description": "(Required) "
                                        }
                                      ]
                                    }
                                  },
                                  "response": [
                                    {
                                      "id": "4341edda-b617-4f26-a31d-19da7e3f218d",
                                      "name": "Plan published",
                                      "originalRequest": {
                                        "method": "POST",
                                        "header": [
                                          {
                                            "description": "Added as a part of security scheme: bearer",
                                            "key": "Authorization",
                                            "value": "Bearer <token>"
                                          }
                                        ],
                                        "url": {
                                          "raw": "{{baseUrl}}/environments/:envId/apis/:apiId/plans/:planId/_publish",
                                          "host": [
                                            "{{baseUrl}}"
                                          ],
                                          "path": [
                                            "environments",
                                            ":envId",
                                            "apis",
                                            ":apiId",
                                            "plans",
                                            ":planId",
                                            "_publish"
                                          ],
                                          "variable": [
                                            {
                                              "key": "envId"
                                            },
                                            {
                                              "key": "apiId"
                                            },
                                            {
                                              "key": "planId"
                                            }
                                          ]
                                        }
                                      },
                                      "status": "No Content",
                                      "code": 204,
                                      "_postman_previewlanguage": "text",
                                      "header": [],
                                      "cookie": [],
                                      "responseTime": null,
                                      "body": null,
                                      "createdAt": "2026-07-28T01:52:11.000Z",
                                      "updatedAt": "2026-07-28T01:52:11.000Z",
                                      "uid": "35240-4341edda-b617-4f26-a31d-19da7e3f218d"
                                    }
                                  ],
                                  "createdAt": "2026-07-28T01:52:11.000Z",
                                  "updatedAt": "2026-07-28T01:52:11.000Z",
                                  "uid": "35240-be2e5643-6508-482f-91f4-362be8dd622c"
                                }
                              ],
                              "id": "28a88059-c759-4fa5-a333-146825dd4380",
                              "createdAt": "2026-07-28T01:52:11.000Z",
                              "updatedAt": "2026-07-28T01:52:11.000Z",
                              "uid": "35240-28a88059-c759-4fa5-a333-146825dd4380"
                            },
                            {
                              "name": "_close",
                              "item": [
                                {
                                  "name": "Close a Plan",
                                  "id": "b90ae1de-2b94-4dd9-8f2e-5e509d1c735c",
                                  "protocolProfileBehavior": {
                                    "disableBodyPruning": true
                                  },
                                  "request": {
                                    "method": "POST",
                                    "header": [],
                                    "url": {
                                      "raw": "{{baseUrl}}/environments/:envId/apis/:apiId/plans/:planId/_close",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "environments",
                                        ":envId",
                                        "apis",
                                        ":apiId",
                                        "plans",
                                        ":planId",
                                        "_close"
                                      ],
                                      "variable": [
                                        {
                                          "id": "84f0ca9d-e948-44d2-904d-ad10ca500587",
                                          "key": "envId",
                                          "value": "<string>",
                                          "description": "(Required) The environment identifier"
                                        },
                                        {
                                          "id": "cddfd071-fa63-473c-9058-d78bc6896537",
                                          "key": "apiId",
                                          "value": "<string>",
                                          "description": "(Required) The API identifier"
                                        },
                                        {
                                          "id": "d9b4e215-2aae-4d2f-bfab-c7bd5fcc70fd",
                                          "key": "planId",
                                          "value": "<string>",
                                          "description": "(Required) "
                                        }
                                      ]
                                    }
                                  },
                                  "response": [
                                    {
                                      "id": "47ba3414-a2a2-4818-b033-30fe966c0d00",
                                      "name": "Plan closed",
                                      "originalRequest": {
                                        "method": "POST",
                                        "header": [
                                          {
                                            "description": "Added as a part of security scheme: bearer",
                                            "key": "Authorization",
                                            "value": "Bearer <token>"
                                          }
                                        ],
                                        "url": {
                                          "raw": "{{baseUrl}}/environments/:envId/apis/:apiId/plans/:planId/_close",
                                          "host": [
                                            "{{baseUrl}}"
                                          ],
                                          "path": [
                                            "environments",
                                            ":envId",
                                            "apis",
                                            ":apiId",
                                            "plans",
                                            ":planId",
                                            "_close"
                                          ],
                                          "variable": [
                                            {
                                              "key": "envId"
                                            },
                                            {
                                              "key": "apiId"
                                            },
                                            {
                                              "key": "planId"
                                            }
                                          ]
                                        }
                                      },
                                      "status": "No Content",
                                      "code": 204,
                                      "_postman_previewlanguage": "text",
                                      "header": [],
                                      "cookie": [],
                                      "responseTime": null,
                                      "body": null,
                                      "createdAt": "2026-07-28T01:52:11.000Z",
                                      "updatedAt": "2026-07-28T01:52:11.000Z",
                                      "uid": "35240-47ba3414-a2a2-4818-b033-30fe966c0d00"
                                    }
                                  ],
                                  "createdAt": "2026-07-28T01:52:11.000Z",
                                  "updatedAt": "2026-07-28T01:52:11.000Z",
                                  "uid": "35240-b90ae1de-2b94-4dd9-8f2e-5e509d1c735c"
                                }
                              ],
                              "id": "dabfa724-11ae-400a-a63e-d88a51f371eb",
                              "createdAt": "2026-07-28T01:52:11.000Z",
                              "updatedAt": "2026-07-28T01:52:11.000Z",
                              "uid": "35240-dabfa724-11ae-400a-a63e-d88a51f371eb"
                            },
                            {
                              "name": "Get a Plan by Identifier",
                              "id": "60f40a7b-43e0-4ed3-93ca-07ba46e24dbf",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "GET",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/environments/:envId/apis/:apiId/plans/:planId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "environments",
                                    ":envId",
                                    "apis",
                                    ":apiId",
                                    "plans",
                                    ":planId"
                                  ],
                                  "variable": [
                                    {
                                      "id": "ef92eff0-0887-4e9b-9e34-25e812fd96b8",
                                      "key": "envId",
                                      "value": "<string>",
                                      "description": "(Required) The environment identifier"
                                    },
                                    {
                                      "id": "ef2241ab-15fd-45eb-a630-622e5ebe583f",
                                      "key": "apiId",
                                      "value": "<string>",
                                      "description": "(Required) The API identifier"
                                    },
                                    {
                                      "id": "0bef0fb9-dde8-42f4-b6bc-128bbc381c76",
                                      "key": "planId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    }
                                  ]
                                }
                              },
                              "response": [
                                {
                                  "id": "4e895da1-160a-445c-a460-93ceb7b2cdbe",
                                  "name": "The plan",
                                  "originalRequest": {
                                    "method": "GET",
                                    "header": [
                                      {
                                        "description": "Added as a part of security scheme: bearer",
                                        "key": "Authorization",
                                        "value": "Bearer <token>"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/environments/:envId/apis/:apiId/plans/:planId",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "environments",
                                        ":envId",
                                        "apis",
                                        ":apiId",
                                        "plans",
                                        ":planId"
                                      ],
                                      "variable": [
                                        {
                                          "key": "envId"
                                        },
                                        {
                                          "key": "apiId"
                                        },
                                        {
                                          "key": "planId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "OK",
                                  "code": 200,
                                  "_postman_previewlanguage": "text",
                                  "header": [],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": null,
                                  "createdAt": "2026-07-28T01:52:11.000Z",
                                  "updatedAt": "2026-07-28T01:52:11.000Z",
                                  "uid": "35240-4e895da1-160a-445c-a460-93ceb7b2cdbe"
                                }
                              ],
                              "createdAt": "2026-07-28T01:52:11.000Z",
                              "updatedAt": "2026-07-28T01:52:11.000Z",
                              "uid": "35240-60f40a7b-43e0-4ed3-93ca-07ba46e24dbf"
                            },
                            {
                              "name": "Update a Plan",
                              "id": "a70af9e0-87d3-4210-a0dc-ab74190234b6",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "PUT",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"security\": {\n    \"type\": \"SUBSCRIPTION\",\n    \"configuration\": {}\n  },\n  \"status\": \"DEPRECATED\",\n  \"validation\": \"MANUAL\",\n  \"order\": \"<integer>\",\n  \"characteristics\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/environments/:envId/apis/:apiId/plans/:planId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "environments",
                                    ":envId",
                                    "apis",
                                    ":apiId",
                                    "plans",
                                    ":planId"
                                  ],
                                  "variable": [
                                    {
                                      "id": "4c1ab063-6b6a-40dd-805a-e415579251e1",
                                      "key": "envId",
                                      "value": "<string>",
                                      "description": "(Required) The environment identifier"
                                    },
                                    {
                                      "id": "4ab995f7-ede4-427b-b5bb-2d3cffbb60a5",
                                      "key": "apiId",
                                      "value": "<string>",
                                      "description": "(Required) The API identifier"
                                    },
                                    {
                                      "id": "7d3f2197-6d7e-41fb-8a4c-c048e33405f6",
                                      "key": "planId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    }
                                  ]
                                }
                              },
                              "response": [
                                {
                                  "id": "ad76bd3f-f8d5-4521-97bf-70e17b132b99",
                                  "name": "Plan updated",
                                  "originalRequest": {
                                    "method": "PUT",
                                    "header": [
                                      {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: bearer",
                                        "key": "Authorization",
                                        "value": "Bearer <token>"
                                      }
                                    ],
                                    "body": {
                                      "mode": "raw",
                                      "raw": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"security\": {\n    \"type\": \"SUBSCRIPTION\",\n    \"configuration\": {}\n  },\n  \"status\": \"DEPRECATED\",\n  \"validation\": \"MANUAL\",\n  \"order\": \"<integer>\",\n  \"characteristics\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                                      "options": {
                                        "raw": {
                                          "headerFamily": "json",
                                          "language": "json"
                                        }
                                      }
                                    },
                                    "url": {
                                      "raw": "{{baseUrl}}/environments/:envId/apis/:apiId/plans/:planId",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "environments",
                                        ":envId",
                                        "apis",
                                        ":apiId",
                                        "plans",
                                        ":planId"
                                      ],
                                      "variable": [
                                        {
                                          "key": "envId"
                                        },
                                        {
                                          "key": "apiId"
                                        },
                                        {
                                          "key": "planId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "OK",
                                  "code": 200,
                                  "_postman_previewlanguage": "text",
                                  "header": [],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": null,
                                  "createdAt": "2026-07-28T01:52:11.000Z",
                                  "updatedAt": "2026-07-28T01:52:11.000Z",
                                  "uid": "35240-ad76bd3f-f8d5-4521-97bf-70e17b132b99"
                                }
                              ],
                              "createdAt": "2026-07-28T01:52:11.000Z",
                              "updatedAt": "2026-07-28T01:52:11.000Z",
                              "uid": "35240-a70af9e0-87d3-4210-a0dc-ab74190234b6"
                            }
                          ],
                          "id": "b02d3bda-896f-46dc-b195-89092c0d1a7c",
                          "createdAt": "2026-07-28T01:52:11.000Z",
                          "updatedAt": "2026-07-28T01:52:11.000Z",
                          "uid": "35240-b02d3bda-896f-46dc-b195-89092c0d1a7c"
                        },
                        {
                          "name": "List Plans on an API",
                          "id": "9029c3b4-3692-45e3-9442-ecb3f7ffce78",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [],
                            "url": {
                              "raw": "{{baseUrl}}/environments/:envId/apis/:apiId/plans",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "environments",
                                ":envId",
                                "apis",
                                ":apiId",
                                "plans"
                              ],
                              "variable": [
                                {
                                  "id": "622136d4-90f1-42a6-a149-c8f8770f34e0",
                                  "key": "envId",
                                  "value": "<string>",
                                  "description": "(Required) The environment identifier"
                                },
                                {
                                  "id": "86779d1b-f2bc-4d52-bc58-7edc8574d843",
                                  "key": "apiId",
                                  "value": "<string>",
                                  "description": "(Required) The API identifier"
                                }
                              ]
                            }
                          },
                          "response": [
                            {
                              "id": "2d9875dd-2969-43ca-a43d-c24a009cb7bf",
                              "name": "Plans page",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/environments/:envId/apis/:apiId/plans",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "environments",
                                    ":envId",
                                    "apis",
                                    ":apiId",
                                    "plans"
                                  ],
                                  "variable": [
                                    {
                                      "key": "envId"
                                    },
                                    {
                                      "key": "apiId"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-07-28T01:52:11.000Z",
                              "updatedAt": "2026-07-28T01:52:11.000Z",
                              "uid": "35240-2d9875dd-2969-43ca-a43d-c24a009cb7bf"
                            }
                          ],
                          "createdAt": "2026-07-28T01:52:11.000Z",
                          "updatedAt": "2026-07-28T01:52:11.000Z",
                          "uid": "35240-9029c3b4-3692-45e3-9442-ecb3f7ffce78"
                        },
                        {
                          "name": "Create a Plan on an API",
                          "id": "e051a66c-e205-417c-96ce-dfdaa850d744",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"security\": {\n    \"type\": \"SUBSCRIPTION\",\n    \"configuration\": {}\n  },\n  \"status\": \"DEPRECATED\",\n  \"validation\": \"MANUAL\",\n  \"order\": \"<integer>\",\n  \"characteristics\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/environments/:envId/apis/:apiId/plans",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "environments",
                                ":envId",
                                "apis",
                                ":apiId",
                                "plans"
                              ],
                              "variable": [
                                {
                                  "id": "a22271bf-bc4e-4435-8246-c1406ca0ef43",
                                  "key": "envId",
                                  "value": "<string>",
                                  "description": "(Required) The environment identifier"
                                },
                                {
                                  "id": "82c939ea-0f84-406b-a91d-dabc07d7df7c",
                                  "key": "apiId",
                                  "value": "<string>",
                                  "description": "(Required) The API identifier"
                                }
                              ]
                            }
                          },
                          "response": [
                            {
                              "id": "1c3e4df0-665e-43d3-9658-600f8b9edce6",
                              "name": "Plan created",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"security\": {\n    \"type\": \"SUBSCRIPTION\",\n    \"configuration\": {}\n  },\n  \"status\": \"DEPRECATED\",\n  \"validation\": \"MANUAL\",\n  \"order\": \"<integer>\",\n  \"characteristics\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/environments/:envId/apis/:apiId/plans",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "environments",
                                    ":envId",
                                    "apis",
                                    ":apiId",
                                    "plans"
                                  ],
                                  "variable": [
                                    {
                                      "key": "envId"
                                    },
                                    {
                                      "key": "apiId"
                                    }
                                  ]
                                }
                              },
                              "status": "Created",
                              "code": 201,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-07-28T01:52:11.000Z",
                              "updatedAt": "2026-07-28T01:52:11.000Z",
                              "uid": "35240-1c3e4df0-665e-43d3-9658-600f8b9edce6"
                            }
                          ],
                          "createdAt": "2026-07-28T01:52:11.000Z",
                          "updatedAt": "2026-07-28T01:52:11.000Z",
                          "uid": "35240-e051a66c-e205-417c-96ce-dfdaa850d744"
                        }
                      ],
                      "id": "11e2660f-6171-42a4-8c22-b33900e5a046",
                      "createdAt": "2026-07-28T01:52:11.000Z",
                      "updatedAt": "2026-07-28T01:52:11.000Z",
                      "uid": "35240-11e2660f-6171-42a4-8c22-b33900e5a046"
                    }
                  ],
                  "id": "551b3b1c-30f6-4a50-8e15-3029eaaae282",
                  "createdAt": "2026-07-28T01:52:11.000Z",
                  "updatedAt": "2026-07-28T01:52:11.000Z",
                  "uid": "35240-551b3b1c-30f6-4a50-8e15-3029eaaae282"
                }
              ],
              "id": "43b188d3-49b1-4ebb-ab0b-f404db2d5a3b",
              "createdAt": "2026-07-28T01:52:11.000Z",
              "updatedAt": "2026-07-28T01:52:11.000Z",
              "uid": "35240-43b188d3-49b1-4ebb-ab0b-f404db2d5a3b"
            }
          ],
          "id": "1095335b-8ba1-4eb7-966a-f86c886fb213",
          "createdAt": "2026-07-28T01:52:11.000Z",
          "updatedAt": "2026-07-28T01:52:11.000Z",
          "uid": "35240-1095335b-8ba1-4eb7-966a-f86c886fb213"
        }
      ],
      "id": "4e135998-ced8-4d18-9c6e-e4c132db3d9e",
      "createdAt": "2026-07-28T01:52:11.000Z",
      "updatedAt": "2026-07-28T01:52:11.000Z",
      "uid": "35240-4e135998-ced8-4d18-9c6e-e4c132db3d9e"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "/management"
    }
  ]
}