Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

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
/management/v1/projects/{project_id}/grants/{grant_id}/members

Path Parameters

project_id*project_id
grant_id*grant_id

Request Body

application/json
  1. body
userId*user_id
roles?array<string>

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X POST 'https://example.com/management/v1/projects/string/grants/string/members' \  -H 'Content-Type: application/json' \  -d '{  "userId": "string"}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?