ZITADEL Docs
APIsCore ResourcesV1Organization Objects

AddProjectGrantMember

Add Project Grant Member

Deprecated: use CreateAdministrator instead.

Members are users with permission to administrate Zitadel on different levels. This request returns all users with memberships on the project grant level, matching the search queries. The search queries will be AND linked.

POST
/projects/{project_id}/grants/{grant_id}/members

Path Parameters

project_id*string
grant_id*string

Request Body

application/json

userId*string
roles?roles
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/projects/string/grants/string/members" \  -H "Content-Type: application/json" \  -d '{    "userId": "string"  }'
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?