Skip to content

Add Project Label

Request

Adds a new label to a project. A label can be a string or namespace:value pair that provide additional metadata to assist with project management.

Security
bearer-key
Path
orgUuidstringrequired

org UUID (from the Mend App: Administration General > Organization UUID).

projectUuidstringrequired

UUID of the project

Bodyapplication/jsonrequired
namespacestring(Label Namespace)required
Example:"Label Namespace A"
valuestring(Label Value)required
Example:"Label Value A"
PUT
/api/v3.0/orgs/{orgUuid}/projects/{projectUuid}/labels
{ "namespace": "Label Namespace A", "value": "Label Value A" }

Responses

OK

Bodyapplication/json
supportTokenstring(Support Token)
Example:"1171c60d"
responseobject(MessageDTO)
Response
{ "supportToken": "1171c60d", "response": { "message": "Success!" } }