Update Resource Attribute
PUT {{apiPath}}/environments/{{envID}}/resources/{{resourceID}}/attributes/{{resourceAttrID}}
The PUT /environments/{{envID}}/resources/{{resourceID}}/attributes/{{resourceAttributeID}}
operation updates the property values of the identified attribute.
Prerequisites
Create a resource to get a resourceID
for the endpoint. See also Resources, especially Resource operations.
Property | Type | Required? |
---|---|---|
name | String | Required |
value | String | Required |
See the Resource attributes data model for full property descriptions.
Request Body
{"name"=>"nickname", "value"=>"${user.nickname}"}
RESPONSES
status: OK
{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/resources/faac7db8-67ce-44aa-8ae0-5ae672f5b8bf/attributes/84c17bdd-1aa4-4902-bea7-4e05fa853286"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"resource":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/resources/faac7db8-67ce-44aa-8ae0-5ae672f5b8bf"}},"id":"84c17bdd-1aa4-4902-bea7-4e05fa853286","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"name":"nickname","value":"${user.nickname}","type":"CUSTOM","resource":{"id":"faac7db8-67ce-44aa-8ae0-5ae672f5b8bf"}}