ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Add Project Member

Deprecated: use CreateAdministrator instead.

Members are users with permission to administrate Zitadel on different levels. This request adds a new user to the members list on the project level with one or multiple roles.

POST
/projects/{project_id}/members

Path Parameters

project_id*string

Request Body

application/json

userId?string
roles?array<>
[key: string]?never

Response Body

application/json

curl -X POST "https://loading/projects/string/members" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  }
}

Was this page helpful?