The PUT /environments/{environmentId}/resources/{resourceId} operation updates the property values of the identified resource entity.

The request body specifies updated property values for the resource name and audience. Any property values not specified in the request body are cleared. The response returns a 200 OK message, and it shows the updated property data for the modified resource entity.

In this example, the description property value was cleared. The accessTokenValiditySeconds property value was cleared and reset to the default value of 3600. The name and audience properties were modified to the values specified in the request body.