Opsview 6.9.x End of Support

Opsview versions 6.9.x reached their End of Support (EOS) status at the end of January 2026, in accordance with our Support policy. As of this date, these versions no longer receive code fixes, security updates, maintenance releases, or backported changes.

The documentation for version 6.9.7 and earlier releases will remain accessible for reference, but it will no longer be updated or maintained. We strongly recommend upgrading to the latest supported 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"]

Was this topic helpful?