For the complete documentation index, see llms.txt. This page is also available as Markdown.

Projects

Operations about projects

Retrieve projects

get

Retrieve projects from your instance.

Authorizations
X-N8N-API-KEYstringRequired
Query parameters
limitnumber · max: 250Optional

The maximum number of items to return.

Default: 100Example: 100
cursorstringOptional

Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first "page" of the collection. See pagination for more detail.

Responses
200

Operation successful.

application/json
nextCursorstring · nullableOptional

Paginate through projects by setting the cursor parameter to a nextCursor attribute returned by a previous request. Default value fetches the first "page" of the collection.

Example: MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA
get/projects

Create a project

post

Create a project on your instance.

Authorizations
X-N8N-API-KEYstringRequired
Body
idstringRead-onlyOptional
namestringRequired
typestringRead-onlyOptional
Responses
201

Operation successful.

No content

post/projects

No content

Update a project

put

Update a project on your instance.

Authorizations
X-N8N-API-KEYstringRequired
Path parameters
projectIdstringRequired

The ID of the project.

Body
idstringRead-onlyOptional
namestringRequired
typestringRead-onlyOptional
Responses
204

Operation successful.

No content

put/projects/{projectId}

No content

Delete a project

delete

Delete a project from your instance.

Authorizations
X-N8N-API-KEYstringRequired
Path parameters
projectIdstringRequired

The ID of the project.

Responses
204

Operation successful.

No content

delete/projects/{projectId}

No content

List project members

get

Returns a list of all members of a project including their role. Requires user:list scope.

Authorizations
X-N8N-API-KEYstringRequired
Path parameters
projectIdstringRequired

The ID of the project.

Query parameters
limitnumber · max: 250Optional

The maximum number of items to return.

Default: 100Example: 100
cursorstringOptional

Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first "page" of the collection. See pagination for more detail.

Responses
200

Operation successful.

application/json
nextCursorstring · nullableOptional

Paginate through project members by setting the cursor parameter to the nextCursor attribute returned by a previous request. Default value fetches the first page of the collection.

Example: MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA
get/projects/{projectId}/users

Add one or more users to a project

post

Add one or more users to a project on your instance.

Authorizations
X-N8N-API-KEYstringRequired
Path parameters
projectIdstringRequired

The ID of the project.

Body
Responses
201

Operation successful.

No content

post/projects/{projectId}/users

No content

Delete a user from a project

delete

Delete a user from a project on your instance.

Authorizations
X-N8N-API-KEYstringRequired
Path parameters
projectIdstringRequired

The ID of the project.

userIdstringRequired

The ID of the user.

Responses
204

Operation successful.

No content

delete/projects/{projectId}/users/{userId}

No content

Change a user's role in a project

patch

Change a user's role in a project.

Authorizations
X-N8N-API-KEYstringRequired
Path parameters
projectIdstringRequired

The ID of the project.

userIdstringRequired

The ID of the user.

Body
rolestringRequired

The role assigned to the user in the project.

Example: project:viewer
Responses
204

Operation successful.

No content

patch/projects/{projectId}/users/{userId}

No content

Last updated

Was this helpful?