{
  "info": {
    "_postman_id": "af9d75a5-c1b2-473d-9bf7-7271f595ddaf",
    "name": "WSO2 API Manager - Admin Advanced Policy (Collection) Advanced Policy (Collection) Application Secrets API",
    "description": "This document specifies a **RESTful API** for WSO2 **API Manager** - **Admin Portal**.\nPlease see [full OpenAPI Specification](https://raw.githubusercontent.com/wso2/carbon-apimgt/master/components/apimgt/org.wso2.carbon.apimgt.rest.api.admin.v1/src/main/resources/admin-api.yaml) of the API which is written using [OAS 3.0](http://swagger.io/) specification.\n\n# Authentication\nThe Admin REST API is protected using OAuth2 and access control is achieved through scopes. Before you start invoking\nthe the API you need to obtain an access token with the required scopes. This guide will walk you through the steps\nthat you will need to follow to obtain an access token.\nFirst you need to obtain the consumer key/secret key pair by calling the dynamic client registration (DCR) endpoint. You can add your preferred grant types\nin the payload. A sample payload is shown below.\n```\n  {\n  \"callbackUrl\":\"www.example.com\",\n  \"clientName\":\"rest_api_admin\",\n  \"owner\":\"admin\",\n  \"grantType\":\"client_credentials password refresh_token\",\n  \"saasApp\":true\n  }\n```\nCreate a file (payload.json) with the above sample payload, and use the cURL shown bellow to invoke the DCR endpoint. Authorization header of this should contain the\nbase64 encoded admin username and password.\n**Format of the request**\n```\n  curl -X POST -H \"Authorization: Basic Base64(admin_username:admin_password)\" -H \"Content-Type: application/json\"\n  \\ -d @payload.json https://<host>:<servlet_port>/client-registration/v0.17/register\n```\n**Sample request**\n```\n  curl -X POST -H \"Authorization: Basic YWRtaW46YWRtaW4=\" -H \"Content-Type: application/json\"\n  \\ -d @payload.json https://localhost:9443/client-registration/v0.17/register\n```\nFollowing is a sample response after invoking the above curl.\n```\n{\n\"clientId\": \"fOCi4vNJ59PpHucC2CAYfYuADdMa\",\n\"clientName\": \"rest_api_admin\",\n\"callBackURL\": \"www.example.com\",\n\"clientSecret\": \"a4FwHlq0iCIKVs2MPIIDnepZnYMa\",\n\"isSaasApplication\": true,\n\"appOwner\": \"admin\",\n\"jsonString\": \"{\\\"grant_types\\\":\\\"client_credentials password refresh_token\\\",\\\"redirect_uris\\\":\\\"www.example.com\\\",\\\"client_name\\\":\\\"rest_api_admin\\\"}\",\n\"jsonAppAttribute\": \"{}\",\n\"tokenType\": null\n}\n```\nNote that in a distributed deployment or IS as KM separated environment to invoke RESTful APIs (product APIs), users must generate tokens through API-M Control Plane's token endpoint.\nThe tokens generated using third party key managers, are to manage end-user authentication when accessing APIs.\n\nNext you must use the above client id and secret to obtain the access token.\nWe will be using the password grant type for this, you can use any grant type you desire.\nYou also need to add the proper **scope** when getting the access token. All possible scopes for Admin REST API can be viewed in **OAuth2 Security** section\nof this document and scope for each resource is given in **authorizations** section of resource documentation.\nFollowing is the format of the request if you are using the password grant type.\n```\ncurl -k -d \"grant_type=password&username=<admin_username>&password=<admin_passowrd>&scope=<scopes seperated by space>\"\n\\ -H \"Authorization: Basic base64(cliet_id:client_secret)\"\n\\ https://<host>:<server_port>/oauth2/token\n```\n**Sample request**\n```\ncurl https://localhost:9443/oauth2/token -k \\\n-H \"Authorization: Basic Zk9DaTR2Tko1OVBwSHVjQzJDQVlmWXVBRGRNYTphNEZ3SGxxMGlDSUtWczJNUElJRG5lcFpuWU1h\" \\\n-d \"grant_type=password&username=admin&password=admin&scope=apim:admin apim:tier_view\"\n```\nShown below is a sample response to the above request.\n```\n{\n\"access_token\": \"e79bda48-3406-3178-acce-f6e4dbdcbb12\",\n\"refresh_token\": \"a757795d-e69f-38b8-bd85-9aded677a97c\",\n\"scope\": \"apim:admin apim:tier_view\",\n\"token_type\": \"Bearer\",\n\"expires_in\": 3600\n}\n```\nNow you have a valid access token, which you can use to invoke an API.\nNavigate through the API descriptions to find the required API, obtain an access token as described above and invoke the API with the authentication header.\nIf you use a different authentication mechanism, this process may change.\n\n# Try out in Postman\nIf you want to try-out the embedded postman collection with \"Run in Postman\" option, please follow the guidelines listed below.\n* All of the OAuth2 secured endpoints have been configured with an Authorization Bearer header with a parameterized access token. Before invoking any REST API resource make sure you run the `Register DCR Application` and `Generate Access Token` requests to fetch an access token with all required scopes.\n* Make sure you have an API Manager instance up and running.\n* Update the `basepath` parameter to match the hostname and port of the APIM instance.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/32294946-71bea2bc-f808-4208-a4f6-861ede6f0434)\n\n\nContact Support:\n Name: WSO2\n Email: architecture@wso2.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:34:58.000Z",
    "updatedAt": "2026-07-28T03:34:58.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-af9d75a5-c1b2-473d-9bf7-7271f595ddaf"
  },
  "item": [
    {
      "name": "applications",
      "item": [
        {
          "name": "{applicationId}",
          "item": [
            {
              "name": "oauth-keys",
              "item": [
                {
                  "name": "{keyMappingId}",
                  "item": [
                    {
                      "name": "generate-secret",
                      "item": [
                        {
                          "name": "Generate a New Consumer Secret\n",
                          "id": "074f5d91-81c5-467f-a9cd-9f23a0a82483",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "oauth2",
                              "oauth2": [
                                {
                                  "key": "scope",
                                  "value": "openid apim:policies_import_export apim:admin apim:tier_view apim:tier_manage apim:admin_tier_view apim:admin_tier_manage apim:bl_view apim:bl_manage apim:mediation_policy_view apim:mediation_policy_create apim:app_owner_change apim:app_settings_change apim:app_import_export apim:api_import_export apim:api_product_import_export apim:environment_manage apim:environment_read apim:monetization_usage_publish apim:api_workflow_approve apim:bot_data apim:tenantInfo apim:tenant_theme_manage apim:admin_operations apim:api_category apim:admin_settings apim:admin_alert_manage apim:api_workflow_view apim:scope_manage apim:role_manage apim:admin_application_view apim:keymanagers_manage apim:api_provider_change apim:llm_provider_manage apim:gov_policy_read apim:gov_policy_manage apim:gov_result_read apim:gov_rule_read apim:gov_rule_manage apim:organization_manage apim:organization_read",
                                  "type": "string"
                                },
                                {
                                  "key": "accessTokenUrl",
                                  "value": "https://localhost:9443/oauth2/token",
                                  "type": "string"
                                },
                                {
                                  "key": "grant_type",
                                  "value": "password_credentials",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"additionalProperties\": {\n    \"ipsum43\": {},\n    \"dobf\": {},\n    \"sunt_9b\": {}\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/generate-secret",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "applications",
                                ":applicationId",
                                "oauth-keys",
                                ":keyMappingId",
                                "generate-secret"
                              ],
                              "variable": [
                                {
                                  "id": "dc4a1721-2457-4424-80c5-b699f988fd24",
                                  "key": "applicationId",
                                  "value": "<string>",
                                  "description": "(Required) Application Identifier consisting of the UUID of the Application.\n"
                                },
                                {
                                  "id": "2a5fd197-1565-45c4-aa23-7d39043cbc59",
                                  "key": "keyMappingId",
                                  "value": "<string>",
                                  "description": "(Required) OAuth Key Identifier consisting of the UUID of the Oauth Key Mapping.\n"
                                }
                              ]
                            },
                            "description": "This operation can be used to generate a new consumer secret for an application for the given key type\n"
                          },
                          "response": [
                            {
                              "id": "b05b45fa-c3ec-45e3-9169-f0636eb46b59",
                              "name": "Created.\nSuccessful response with the newly created object as entity in the body.\nLocation header contains URL of newly created entity.\n",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"additionalProperties\": {\n    \"ipsum43\": {},\n    \"dobf\": {},\n    \"sunt_9b\": {}\n  }\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/generate-secret",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "generate-secret"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Created",
                              "code": 201,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                },
                                {
                                  "disabled": false,
                                  "description": {
                                    "content": "Location to the newly created secret entity.\n",
                                    "type": "text/plain"
                                  },
                                  "key": "Location",
                                  "value": "<string>"
                                },
                                {
                                  "disabled": false,
                                  "description": {
                                    "content": "The content type of the body.\n",
                                    "type": "text/plain"
                                  },
                                  "key": "Content-Type",
                                  "value": "<string>"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"secretId\": \"<string>\",\n  \"secretValue\": \"<string>\",\n  \"additionalProperties\": {\n    \"ind\": {}\n  }\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-b05b45fa-c3ec-45e3-9169-f0636eb46b59"
                            },
                            {
                              "id": "34585e06-d704-413b-95ec-ce11d62c4be0",
                              "name": "Bad Request. Invalid request or validation error.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"additionalProperties\": {\n    \"ipsum43\": {},\n    \"dobf\": {},\n    \"sunt_9b\": {}\n  }\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/generate-secret",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "generate-secret"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Bad Request",
                              "code": 400,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-34585e06-d704-413b-95ec-ce11d62c4be0"
                            },
                            {
                              "id": "1bb15d20-96a0-4a01-8d4d-39148bdfb846",
                              "name": "Unauthorized. The user is not authorized.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"additionalProperties\": {\n    \"ipsum43\": {},\n    \"dobf\": {},\n    \"sunt_9b\": {}\n  }\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/generate-secret",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "generate-secret"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-1bb15d20-96a0-4a01-8d4d-39148bdfb846"
                            },
                            {
                              "id": "65514d7b-4751-4ea0-8972-487b3931f0a3",
                              "name": "Forbidden. The user does not have permission to perform this action.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"additionalProperties\": {\n    \"ipsum43\": {},\n    \"dobf\": {},\n    \"sunt_9b\": {}\n  }\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/generate-secret",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "generate-secret"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Forbidden",
                              "code": 403,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-65514d7b-4751-4ea0-8972-487b3931f0a3"
                            },
                            {
                              "id": "7cdf38a3-a284-43c1-bc9d-56b89185e078",
                              "name": "Internal Server Error.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"additionalProperties\": {\n    \"ipsum43\": {},\n    \"dobf\": {},\n    \"sunt_9b\": {}\n  }\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/generate-secret",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "generate-secret"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Internal Server Error",
                              "code": 500,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-7cdf38a3-a284-43c1-bc9d-56b89185e078"
                            }
                          ],
                          "createdAt": "2026-07-28T03:34:58.000Z",
                          "updatedAt": "2026-07-28T03:34:58.000Z",
                          "uid": "35240-074f5d91-81c5-467f-a9cd-9f23a0a82483"
                        }
                      ],
                      "id": "480a8c11-9adf-4e8d-adca-01a0dd0b2fbd",
                      "createdAt": "2026-07-28T03:34:58.000Z",
                      "updatedAt": "2026-07-28T03:34:58.000Z",
                      "uid": "35240-480a8c11-9adf-4e8d-adca-01a0dd0b2fbd"
                    },
                    {
                      "name": "secrets",
                      "item": [
                        {
                          "name": "Retrieve Consumer Secrets\n",
                          "id": "3223e298-26db-4acf-b3f9-fd4cdfa61677",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "oauth2",
                              "oauth2": [
                                {
                                  "key": "scope",
                                  "value": "openid apim:policies_import_export apim:admin apim:tier_view apim:tier_manage apim:admin_tier_view apim:admin_tier_manage apim:bl_view apim:bl_manage apim:mediation_policy_view apim:mediation_policy_create apim:app_owner_change apim:app_settings_change apim:app_import_export apim:api_import_export apim:api_product_import_export apim:environment_manage apim:environment_read apim:monetization_usage_publish apim:api_workflow_approve apim:bot_data apim:tenantInfo apim:tenant_theme_manage apim:admin_operations apim:api_category apim:admin_settings apim:admin_alert_manage apim:api_workflow_view apim:scope_manage apim:role_manage apim:admin_application_view apim:keymanagers_manage apim:api_provider_change apim:llm_provider_manage apim:gov_policy_read apim:gov_policy_manage apim:gov_result_read apim:gov_rule_read apim:gov_rule_manage apim:organization_manage apim:organization_read",
                                  "type": "string"
                                },
                                {
                                  "key": "accessTokenUrl",
                                  "value": "https://localhost:9443/oauth2/token",
                                  "type": "string"
                                },
                                {
                                  "key": "grant_type",
                                  "value": "password_credentials",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/secrets",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "applications",
                                ":applicationId",
                                "oauth-keys",
                                ":keyMappingId",
                                "secrets"
                              ],
                              "variable": [
                                {
                                  "id": "0bd5842f-17ac-4758-9149-b2fb476afc95",
                                  "key": "applicationId",
                                  "value": "<string>",
                                  "description": "(Required) Application Identifier consisting of the UUID of the Application.\n"
                                },
                                {
                                  "id": "73d6f653-cc3d-4292-a3f1-a539d04f6a8f",
                                  "key": "keyMappingId",
                                  "value": "<string>",
                                  "description": "(Required) OAuth Key Identifier consisting of the UUID of the Oauth Key Mapping.\n"
                                }
                              ]
                            },
                            "description": "This operation can be used to retrieve consumer secrets of an application for the given key type\n"
                          },
                          "response": [
                            {
                              "id": "025fc92e-4ce1-4289-b45a-aa82f19f1f59",
                              "name": "OK.\nConsumer secrets are retrieved.\n",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/secrets",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "secrets"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                },
                                {
                                  "disabled": false,
                                  "description": {
                                    "content": "The content type of the body.\n",
                                    "type": "text/plain"
                                  },
                                  "key": "Content-Type",
                                  "value": "<string>"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"count\": \"<integer>\",\n  \"list\": [\n    {\n      \"secretId\": \"<string>\",\n      \"secretValue\": \"<string>\",\n      \"additionalProperties\": {\n        \"eu2\": {},\n        \"tempor358\": {},\n        \"aliqua1\": {}\n      }\n    },\n    {\n      \"secretId\": \"<string>\",\n      \"secretValue\": \"<string>\",\n      \"additionalProperties\": {\n        \"ex_79e\": {}\n      }\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-025fc92e-4ce1-4289-b45a-aa82f19f1f59"
                            },
                            {
                              "id": "2e1e23e0-28ab-4cba-94e7-cb46ec0c00e1",
                              "name": "Bad Request. Invalid request or validation error.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/secrets",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "secrets"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Bad Request",
                              "code": 400,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-2e1e23e0-28ab-4cba-94e7-cb46ec0c00e1"
                            },
                            {
                              "id": "062c7531-939a-460d-b340-df72f19e4562",
                              "name": "Unauthorized. The user is not authorized.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/secrets",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "secrets"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-062c7531-939a-460d-b340-df72f19e4562"
                            },
                            {
                              "id": "fbcf7849-6d14-45d7-8c75-8c62f894bbae",
                              "name": "Forbidden. The user does not have permission to perform this action.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/secrets",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "secrets"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Forbidden",
                              "code": 403,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-fbcf7849-6d14-45d7-8c75-8c62f894bbae"
                            },
                            {
                              "id": "917cf1ba-a68e-476d-a54a-55d1222b07f1",
                              "name": "Not Found. The specified resource does not exist.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/secrets",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "secrets"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Not Found",
                              "code": 404,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-917cf1ba-a68e-476d-a54a-55d1222b07f1"
                            },
                            {
                              "id": "e84f0844-d008-4357-a16d-95aa742d97bd",
                              "name": "Internal Server Error.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/secrets",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "secrets"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Internal Server Error",
                              "code": 500,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-e84f0844-d008-4357-a16d-95aa742d97bd"
                            }
                          ],
                          "createdAt": "2026-07-28T03:34:58.000Z",
                          "updatedAt": "2026-07-28T03:34:58.000Z",
                          "uid": "35240-3223e298-26db-4acf-b3f9-fd4cdfa61677"
                        }
                      ],
                      "id": "ce5672b3-dbe1-4dba-a959-64a4840d77b7",
                      "createdAt": "2026-07-28T03:34:58.000Z",
                      "updatedAt": "2026-07-28T03:34:58.000Z",
                      "uid": "35240-ce5672b3-dbe1-4dba-a959-64a4840d77b7"
                    },
                    {
                      "name": "revoke-secret",
                      "item": [
                        {
                          "name": "Revoke a Consumer Secret\n",
                          "id": "9d338799-6c89-4323-ad09-9677774da387",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "oauth2",
                              "oauth2": [
                                {
                                  "key": "scope",
                                  "value": "openid apim:policies_import_export apim:admin apim:tier_view apim:tier_manage apim:admin_tier_view apim:admin_tier_manage apim:bl_view apim:bl_manage apim:mediation_policy_view apim:mediation_policy_create apim:app_owner_change apim:app_settings_change apim:app_import_export apim:api_import_export apim:api_product_import_export apim:environment_manage apim:environment_read apim:monetization_usage_publish apim:api_workflow_approve apim:bot_data apim:tenantInfo apim:tenant_theme_manage apim:admin_operations apim:api_category apim:admin_settings apim:admin_alert_manage apim:api_workflow_view apim:scope_manage apim:role_manage apim:admin_application_view apim:keymanagers_manage apim:api_provider_change apim:llm_provider_manage apim:gov_policy_read apim:gov_policy_manage apim:gov_result_read apim:gov_rule_read apim:gov_rule_manage apim:organization_manage apim:organization_read",
                                  "type": "string"
                                },
                                {
                                  "key": "accessTokenUrl",
                                  "value": "https://localhost:9443/oauth2/token",
                                  "type": "string"
                                },
                                {
                                  "key": "grant_type",
                                  "value": "password_credentials",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"secretId\": \"<string>\",\n  \"additionalProperties\": {\n    \"aute_91b\": {}\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/revoke-secret",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "applications",
                                ":applicationId",
                                "oauth-keys",
                                ":keyMappingId",
                                "revoke-secret"
                              ],
                              "variable": [
                                {
                                  "id": "ecad9d47-bd81-4778-a5cc-a18b0f8e949a",
                                  "key": "applicationId",
                                  "value": "<string>",
                                  "description": "(Required) Application Identifier consisting of the UUID of the Application.\n"
                                },
                                {
                                  "id": "0c8ed465-f853-47cd-9a44-e802b5503d30",
                                  "key": "keyMappingId",
                                  "value": "<string>",
                                  "description": "(Required) OAuth Key Identifier consisting of the UUID of the Oauth Key Mapping.\n"
                                }
                              ]
                            },
                            "description": "This operation can be used to revoke a consumer secret for an application for the give key type\n"
                          },
                          "response": [
                            {
                              "id": "4a91f08f-c70e-42f0-8b63-c90a780b4505",
                              "name": "OK.\nConsumer secret deleted.\n",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"secretId\": \"<string>\",\n  \"additionalProperties\": {\n    \"aute_91b\": {}\n  }\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/revoke-secret",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "revoke-secret"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "No Content",
                              "code": 204,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-4a91f08f-c70e-42f0-8b63-c90a780b4505"
                            },
                            {
                              "id": "31723b96-0b51-4331-9608-d4f289aca336",
                              "name": "Bad Request. Invalid request or validation error.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"secretId\": \"<string>\",\n  \"additionalProperties\": {\n    \"aute_91b\": {}\n  }\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/revoke-secret",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "revoke-secret"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Bad Request",
                              "code": 400,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-31723b96-0b51-4331-9608-d4f289aca336"
                            },
                            {
                              "id": "37043c29-a95d-48d1-ac48-34f11bbc6597",
                              "name": "Unauthorized. The user is not authorized.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"secretId\": \"<string>\",\n  \"additionalProperties\": {\n    \"aute_91b\": {}\n  }\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/revoke-secret",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "revoke-secret"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-37043c29-a95d-48d1-ac48-34f11bbc6597"
                            },
                            {
                              "id": "8832e67c-1e79-48fd-b750-480e744582f8",
                              "name": "Forbidden. The user does not have permission to perform this action.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"secretId\": \"<string>\",\n  \"additionalProperties\": {\n    \"aute_91b\": {}\n  }\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/revoke-secret",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "revoke-secret"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Forbidden",
                              "code": 403,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-8832e67c-1e79-48fd-b750-480e744582f8"
                            },
                            {
                              "id": "89612755-7871-43ac-91af-48202cf660b3",
                              "name": "Not Found. The specified resource does not exist.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"secretId\": \"<string>\",\n  \"additionalProperties\": {\n    \"aute_91b\": {}\n  }\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/revoke-secret",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "revoke-secret"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Not Found",
                              "code": 404,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-89612755-7871-43ac-91af-48202cf660b3"
                            },
                            {
                              "id": "2b905055-9769-410d-ac92-2df5c557fa14",
                              "name": "Internal Server Error.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"secretId\": \"<string>\",\n  \"additionalProperties\": {\n    \"aute_91b\": {}\n  }\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/applications/:applicationId/oauth-keys/:keyMappingId/revoke-secret",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "applications",
                                    ":applicationId",
                                    "oauth-keys",
                                    ":keyMappingId",
                                    "revoke-secret"
                                  ],
                                  "variable": [
                                    {
                                      "key": "applicationId"
                                    },
                                    {
                                      "key": "keyMappingId"
                                    }
                                  ]
                                }
                              },
                              "status": "Internal Server Error",
                              "code": 500,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<long>\",\n  \"message\": \"<string>\",\n  \"description\": \"<string>\",\n  \"moreInfo\": \"<string>\",\n  \"error\": [\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"code\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T03:34:58.000Z",
                              "updatedAt": "2026-07-28T03:34:58.000Z",
                              "uid": "35240-2b905055-9769-410d-ac92-2df5c557fa14"
                            }
                          ],
                          "createdAt": "2026-07-28T03:34:58.000Z",
                          "updatedAt": "2026-07-28T03:34:58.000Z",
                          "uid": "35240-9d338799-6c89-4323-ad09-9677774da387"
                        }
                      ],
                      "id": "8d3504d0-f8bf-4ed4-95aa-494bd155e93f",
                      "createdAt": "2026-07-28T03:34:58.000Z",
                      "updatedAt": "2026-07-28T03:34:58.000Z",
                      "uid": "35240-8d3504d0-f8bf-4ed4-95aa-494bd155e93f"
                    }
                  ],
                  "id": "ce8714a6-d6f5-484b-a4a8-ec55f727a6f1",
                  "createdAt": "2026-07-28T03:34:58.000Z",
                  "updatedAt": "2026-07-28T03:34:58.000Z",
                  "uid": "35240-ce8714a6-d6f5-484b-a4a8-ec55f727a6f1"
                }
              ],
              "id": "c8ad35ec-7bca-4a6f-a06b-ad24bbccc998",
              "createdAt": "2026-07-28T03:34:58.000Z",
              "updatedAt": "2026-07-28T03:34:58.000Z",
              "uid": "35240-c8ad35ec-7bca-4a6f-a06b-ad24bbccc998"
            }
          ],
          "id": "c9fd14f9-5783-4324-bcad-582bfe64ded2",
          "createdAt": "2026-07-28T03:34:58.000Z",
          "updatedAt": "2026-07-28T03:34:58.000Z",
          "uid": "35240-c9fd14f9-5783-4324-bcad-582bfe64ded2"
        }
      ],
      "id": "73b6b441-0bf7-4f2d-ad42-390e4ab78ec8",
      "createdAt": "2026-07-28T03:34:58.000Z",
      "updatedAt": "2026-07-28T03:34:58.000Z",
      "uid": "35240-73b6b441-0bf7-4f2d-ad42-390e4ab78ec8"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://apis.wso2.com/api/am/admin/v4"
    }
  ]
}