Opsview 6.8.x End of Support

With the release of Opsview 6.11.0 on February 2025, versions 6.8.x have reached their End of Support (EOS) status, according to our Support policy. This means that versions 6.8.x will no longer receive code fixes or security updates.

The documentation for version 6.8.9 and earlier versions will remain accessible for the time being, but it will no longer be updated or receive backports. We strongly recommend upgrading to the latest version of Opsview to ensure continued support and access to the latest features and security enhancements.

Config - Tenancy

Object type: tenancy

Request URL: /rest/config/tenancy

Example GET all Copied

Response:

    {
       "list" : [
          {
             "description" : "Foo description",
             "id" : "1",
             "name" : "Foo name",
             "primary_role" : {
                "name" : "View all, change none",
                "ref" : "/rest/config/role/13"
             },
             "priority" : "0",
             "ref" : "/rest/config/tenancy/1"
          },
          {
             "description" : "Bar description",
             "id" : "2",
             "name" : "Bar name",
             "primary_role" : {
                "name" : "View all, change none",
                "ref" : "/rest/config/role/13"
             },
             "priority" : "0",
             "ref" : "/rest/config/tenancy/2"
          }
       ],
       "summary" : {
          "allrows" : "2",
          "page" : "1",
          "rows" : "2",
          "totalpages" : "1",
          "totalrows" : "2"
       }
    }

Example GET single Copied

Request URL: /rest/config/tenancy/1

Response:

    {
       "object" : {
          "description" : "Foo description",
          "id" : "1",
          "name" : "Foo name",
          "primary_role" : {
             "name" : "View all, change none",
             "ref" : "/rest/config/role/13"
          },
          "priority" : "0"
       }
    }

Example PUT Copied

Request URL: /rest/config/tenancy/1

Request data:

    {
       "object" : {
          "description" : "The description of Foo",
          "name" : "The name of Foo",
          "primary_role" : {
             "name" : "Admin no configurehosts"
          },
          "priority" : "1"
       }
    }

Response:

    {
       "object" : {
          "description" : "The description of Foo",
          "id" : "1",
          "name" : "The name of Foo",
          "primary_role" : {
             "name" : "Admin no configurehosts",
             "ref" : "/rest/config/role/16"
          },
          "priority" : "1"
       }
    }

Example POST Copied

Request URL: /rest/config/tenancy

Request data:

    {
       "object" : {
          "description" : "Foo description",
          "name" : "Foo name",
          "primary_role" : {
             "name" : "View all, change none"
          },
          "priority" : "0"
       }
    }

Response:

    {
       "object" : {
          "description" : "Foo description",
          "id" : "1",
          "name" : "Foo name",
          "primary_role" : {
             "name" : "View all, change none",
             "ref" : "/rest/config/role/13"
          },
          "priority" : "0"
       }
    }

Example DELETE Copied

Request URL: /rest/config/tenancy/2

Response:

    {
       "success" : "1"
    }
["Opsview On-Premises"] ["API", "Technical Reference"] "1"

Was this topic helpful?