Add labels to a resource model

You can add labels to a resource model to organize resource models into groups. First you must select a resource model URI before adding labels.

Prerequisites

  • Minimum required session ID privileges: a session ID with privileges to edit the resource model.

Adding a label using REST APIs
  1. Perform a GET operation on a resource collection URI (for example, rest/server-profiles) and then select a resource model URI.

  2. Add a label or set of labels using the resource URI from step 1.

    POST /rest/labels/resources