Update an environment
Changed onUpdates one of the project's environments. Only the fields sent are changed. Runs already built keep the snapshot they were built with. Roark-curated environments cannot be edited (403).
Request
- Base URLhttps://api.roark.ai
- URLhttps://api.roark.ai/v1/simulation/environment/{environmentId}
- AuthHTTP bearer
Path parameters
Request body
Example request
{
"name": "Busy call centre",
"description": "Open-plan office at peak hours",
"backgroundNoise": "OFFICE",
"backgroundNoiseVolume": 0.3
}Response
The updated environment
Changes
- warning
added the new
CONSTRUCTIONenum value to the/response property for the response status - warning
added the new
CRYING_BABYenum value to the/response property for the response status - warning
added the new
LIBRARYenum value to the/response property for the response status - warning
added the new
TRAINenum value to the/response property for the response status - info
added the new
CONSTRUCTIONenum value to the request property - info
added the new
CRYING_BABYenum value to the request property - info
added the new
LIBRARYenum value to the request property - info
added the new
TRAINenum value to the request property
- warning
- info
endpoint added
- info