Create folder from an Org HTTP API

  • What Grafana version and what operating system are you using?
    8.5.20, ubuntu 5.4.0
  • What are you trying to achieve?
    Create a folder inside a specific organization using HTTP API
  • How are you trying to achieve it?
    Generating a HTTP POST request to the url ‘/api/folders’ with the required json data.
  • What happened?
    The folder is created in the organization with id 1 (Main org).
  • What did you expect to happen?
    To be able to indicate the orgId at the moment of creating a folder.
  • Can you copy/paste the configuration(s) that you are having problems with?
    The json data:
    data = {‘title’: nombre}
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No
  • Did you follow any online instructions? If so, what is the URL?
    Folder HTTP API | Grafana documentation