Reads all projects of the specified user

GET {{baseUrl}}/projects?userId=<string>

Returns a list of projects of the given user. If no user is specified, an error will be returned.

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.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;projects&quot;:[{&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;},{&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;}]}