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:
project.grant.create
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
ProjectID is the unique identifier of the project.
GrantedOrganizationID is the unique identifier of the organization the project will be granted to.
RoleKeys is a list of roles to be granted to the organization for self management. The roles are identified by their keys.
Response Body
application/json
application/json
curl -X POST "https://loading/zitadel.project.v2.ProjectService/CreateProjectGrant" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{ "projectId": "string", "grantedOrganizationId": "string" }'{
"creationDate": "2023-01-15T01:30:15.01Z"
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}Was this page helpful?
Create Project
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-ma...
Deactivate Project
Deactivate Project: Set the state of a project to deactivated. Request returns no error if the project is already deactivated. Applications under deactivated projects are not able to login anymore. Required permission: