Skip to content

Set Custom Attribute

Request

Edits the value of a custom attribute for a specified library, attribute, and context.

Security
bearer-key
Path
projectTokenstringrequired

product UUID (by running Entities - Organization > Get Organization Products) or Product Token (from the Mend SCA App: Integrate tab > Product Token).

libraryUuidstringrequired

library UUID (get a project's library by running Library - Project > Get Project Libraries.

attributeUuidstringrequired

Custom Attribute UUID

Bodyapplication/jsonrequired
valuestring(Custom Attribute Value)
Example:"Custom attribute value"
PUT
/api/v2.0/projects/{projectToken}/libraries/{libraryUuid}/customAttributes/{attributeUuid}/value
{ "value": "Custom attribute value" }

Responses

OK

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