Labels > Add or delete individual labels for a specific resource model |  | next

# Add or delete individual labels for a specific resource model

To update labels for a specific resource, perform a `POST` operation to reapply all of label attributes. View the labels attributes by using a `GET` operation, edit the attributes, and then perform a `POST` operation. If you delete labels, the labels are removed during the `POST` operation.

### Prerequisites

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

Updating labels for a specific resource model using REST APIs
Perform a `GET` operation on a resource collection URI (for example, `rest/server-profiles`) and then select a resource model URI. Get the label using the URI from step 1. `GET /rest/labels/resources/`{resource URI}`` Edit the labels. Update the labels using the resource URI that you selected in step 1. Any labels that you deleted in step 3 are removed from the resource during the update `POST` operation. `POST /rest/labels/resources/`

prev | up | next
Read labels | home | Delete all labels for a specific resource model

Copyright © 2013-2016 Hewlett Packard Enterprise Development LP