Forum Discussion

mborek4's avatar
mborek4
Level 2
8 months ago

NBU API: add client into policy issue

Hello experts, any idea how to use that api request? Swagger example is failing with JSON parse error url -X 'PUT' \ 'https://nbmaster/netbackup/config/policies/api_test_lnx/clients/orarhel8' \ -H...
  • mborek4's avatar
    8 months ago

    ok so finally after deduction the correct data for type and id is:

    "data": {
    "type": "client",
    "id": "orarhel8",

    now im able to put client into policy via api.