Create folder by rest api in an specific organization

  • Grafana version: 9.3.1

  • I´m, trying to achieve: the creation of folders by rest API (postman) in a specific organization. Example orgId=5.

  • I´m testing by Postman

  • I´m following the documentation to do so.

But there is no explanation about how to create in a specific organization (orgId=5)

  • So I tried to send the “orgId”: 5 on the body payload, but still create on the Main organization and that is what I don´t want.
  • Also I tried adding to the URL ?orgId=5/ like this:

Not working too

  • What did you expect to happen?
    I need and expect to create a folder in Organization 5

  • Can you copy/paste the configuration(s) that you are having problems with?

  "uid": "nErXDvCkzz",
  "title": "Department ABC"
  "uid": "nErXDvCkzz",
  "title": "Department ABC",
  "orgId": 5
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

Not found ← This is the error that gives me.