---
title: Add Notification Group of Vault Account for Rest
slug: kron-pam-api-collection-3-9-0/add-notification-group-of-vault-account-for-rest
docTags: 
createdAt: 2026-10-21T06:10:28.166Z
---

{
  "id": "glceKK4BFGnCybDXaejDP",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "{{url}}/aioc-rest-web/rest/sc/sapm/addNotificationGroupOfSapmAccountForRest",
    "name": "",
    "description": "<h3>Request Overview</h3>\n<p>This API adds a notification group to a specified Vault account.</p>\n<ul>\n<li>\n<p><strong>dbId</strong>: Identifier of the Vault account to which the notification group will be added.</p>\n</li>\n<li>\n<p><strong>newNotification</strong>: ID of the notification group to be added.</p>\n</li>\n</ul>",
    "contentType": "application/json",
    "request": {
      "headerParameters": [],
      "queryParameters": [],
      "pathParameters": [
        {
          "name": "url",
          "description": "",
          "default": "url",
          "value": "url",
          "type": "string"
        }
      ],
      "bodyDataParameters": [
        {
          "name": "body",
          "description": "",
          "default": "{\r\n    \"dbId\": 2994586,\r\n    \"newNotification\":\"DEFAULT_GROUP_SYSYEM_ADMINS\"\r\n}",
          "value": "{\r\n    \"dbId\": 2994586,\r\n    \"newNotification\":\"DEFAULT_GROUP_SYSYEM_ADMINS\"\r\n}",
          "type": "object"
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "",
        "jsonExample": ""
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "vCwMlBihRKDNefGPR93Ib",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url {{url}}/aioc-rest-web/rest/sc/sapm/addNotificationGroupOfSapmAccountForRest \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '\"{\\r\\n    \\\"dbId\\\": 2994586,\\r\\n    \\\"newNotification\\\":\\\"DEFAULT_GROUP_SYSYEM_ADMINS\\\"\\r\\n}\"'"
        },
        {
          "id": "iHwfJqz-hk5Lgya3OGt1d",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar raw = JSON.stringify(\"{\\r\\n    \\\"dbId\\\": 2994586,\\r\\n    \\\"newNotification\\\":\\\"DEFAULT_GROUP_SYSYEM_ADMINS\\\"\\r\\n}\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"{{url}}/aioc-rest-web/rest/sc/sapm/addNotificationGroupOfSapmAccountForRest\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "flyXGFBl7fDuv6omqLq0v",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"{{url}}/aioc-rest-web/rest/sc/sapm/addNotificationGroupOfSapmAccountForRest\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump(\"{\\r\\n    \\\"dbId\\\": 2994586,\\r\\n    \\\"newNotification\\\":\\\"DEFAULT_GROUP_SYSYEM_ADMINS\\\"\\r\\n}\")\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "F0aJYWnUM0JdZg4jeMnqZ",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"{{url}}/aioc-rest-web/rest/sc/sapm/addNotificationGroupOfSapmAccountForRest\"\n\npayload = json.dumps(\"{\\r\\n    \\\"dbId\\\": 2994586,\\r\\n    \\\"newNotification\\\":\\\"DEFAULT_GROUP_SYSYEM_ADMINS\\\"\\r\\n}\")\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "vCwMlBihRKDNefGPR93Ib"
    },
    "results": {
      "languages": [
        {
          "id": "ygFwbZeE6WY20pcTqP-WS",
          "language": "200",
          "code": ""
        }
      ],
      "selectedLanguageId": "ygFwbZeE6WY20pcTqP-WS"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}