Setting system identity through REST API

I’m trying to set /system/identity through the REST API, but struggling to get it to set.

curl -k -u admin: -X PATCH https://localhost/rest/system/identity --data '{"name":"newName"}' -H "content-type: application/json"
{"detail":"missing or invalid resource identifier","error":400,"message":"Bad Request"}%
curl -k -u admin: -X PATCH https://localhost/rest/system/identity/set --data '{"name":"newName"}' -H "content-type: application/json"
{"detail":"missing or invalid resource identifier","error":400,"message":"Bad Request"}%

Any pointers here? Is this even possible?

Use POST to set this and similar parameters
https://help.mikrotik.com/docs/display/ROS/REST+API#RESTAPI-POST

Ahh thanks that worked:

curl -k -u admin: -X POST https://localhost/rest/system/identity/set --data '{"name":"NewIdentity"}' -H "content-type: application/json"
[]%
curl -k -u admin: -X GET https://localhost/rest/system/identity
{"name":"NewIdentity"}%

Great thanx!!!..