Rename a project

PATCH {{baseUrl}}/projects/:id?userId=<string>

Update the project properties of the project with project id id and user user. Currently only the name property can be updated (so currently PATCH can be used to rename projects).

Request Params

KeyDatatypeRequiredDescription
userIdstring(Required) The id of the user. Usually this is the user's email address. If this parameter does not exist the API tries to extract it from the impersonated token.

Request Body

{"name"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;zXehuYJOP-F4fhZ4VyCRG\u0026EIO&quot;,&quot;name&quot;:&quot;Production line 1&quot;,&quot;userId&quot;:&quot;user@example.com&quot;,&quot;tenant&quot;:&quot;myiottenant&quot;}