Create Project
Create a new project. A project is a vessel to group applications, roles and authorizations. Every project belongs to exactly one organization, but can be granted to other organizations for self-management of their authorizations.
Required permission:
project.create
Connect-Protocol-Version*1Define the version of the Connect protocol
1Connect-Timeout-Ms?Connect-Timeout-MsDefine the timeout, in ms
application/json- body
organizationId*organization_idOrganizationID is the unique identifier of the organization the project belongs to.
projectId?|ProjectID is the unique identifier of the new project. This field is optional. If omitted, the system will generate a unique ID for you. This is the recommended way. The generated ID will be returned in the response.
name*nameName of the project. This might be presented to users, e.g. in sign-in flows.
projectRoleAssertion?project_role_assertionProjectRoleAssertion is a setting that can be enabled to have role information included in the user info endpoint. It is also dependent on your application settings to include it in tokens and other types.
authorizationRequired?authorization_requiredAuthorizationRequired is a boolean flag that can be enabled to check if a user has an authorization to use this project assigned when login into an application of this project.
projectAccessRequired?project_access_requiredProjectAccessRequired is a boolean flag that can be enabled to check if the organization of the user, that is trying to log in, has access to this project (either owns the project or is granted).
privateLabelingSetting?private_labeling_settingPrivateLabelingSetting is a setting that defines which private labeling/branding should trigger when getting to a login of this project.
"PRIVATE_LABELING_SETTING_UNSPECIFIED""PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY""PRIVATE_LABELING_SETTING_ALLOW_LOGIN_USER_RESOURCE_OWNER_POLICY"Success
application/json- response
projectId?project_idProjectID is the unique identifier of the newly created project.
creationDate?creation_dateCreationDate is the timestamp of the project creation.
date-timecurl -X POST 'https://example.com/zitadel.project.v2.ProjectService/CreateProject' \ -H 'Connect-Protocol-Version: 1' \ -H 'Content-Type: application/json' \ -d '{ "organizationId": "string", "name": "string"}'{ "projectId": "string", "creationDate": "2023-01-15T01:30:15.01Z"}Was this page helpful?
Add Project Role
Add Project Role: Add a new project role to a project. The key must be unique within the project. Required permission:
Create Project Grant
Create Project Grant: Grant a project to another organization. The project grant will allow the granted organization to access the project and manage the authorizations for its users. Required permission:
