Setup Organization
Deprecated: use organization service v2 AddOrganization instead.
Create a new organization with an administrative user. If no specific roles are sent for the first user, the user will get the role ORG_OWNER.
Request Body
application/json
org?
roles?array<>
specify Org Member Roles for the provided user (default is ORG_OWNER if roles are empty)
human*
oneof field for the user managing the organization
[key: string]?never
Response Body
application/json
curl -X POST "https://loading/orgs/_setup" \ -H "Content-Type: application/json" \ -d '{ "human": {} }'{
"details": {
"sequence": 0,
"creationDate": "2023-01-15T01:30:15.01Z",
"changeDate": "2023-01-15T01:30:15.01Z",
"resourceOwner": "string"
},
"orgId": "string",
"userId": "string"
}Was this page helpful?
SetSecurityPolicy
Explore the SetSecurityPolicy operation in the ZITADEL API. Learn about request parameters, response schemas, and integration details for this endpoint.
TestEmailProviderSMTP
Explore the TestEmailProviderSMTP operation in the ZITADEL API. Learn about request parameters, response schemas, and integration details for this endpoint.