ZITADEL Docs
APIsCore ResourcesV1Organization Objects

AddOrgMember

Add Organization 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 organization level with one or multiple roles.

POST
/orgs/me/members

Request Body

application/json

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

Response Body

application/json

application/json

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

Was this page helpful?