Update Project Grant
Change the roles of the project that is granted 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.write
Connect-Protocol-Version*1Define the version of the Connect protocol
1Connect-Timeout-Ms?Connect-Timeout-MsDefine the timeout, in ms
application/json- body
projectId*project_idProjectID is the unique identifier of the project.
grantedOrganizationId*granted_organization_idGrantedOrganizationID is the unique identifier of the organization the project was granted to.
roleKeys?array<string>RoleKeys is a list of roles to be granted to the organization for self management. The roles are identified by their keys. Any roles not included in this list will be removed from the project grant. If you want to add a role, make sure to include all other existing roles as well. If any previous role is removed, all user grants (role assignments) for this project grant with this role will be removed as well.
Success
application/json- response
changeDate?change_dateChangeDate is the timestamp of the change of the project grant.
date-timecurl -X POST 'https://example.com/zitadel.project.v2.ProjectService/UpdateProjectGrant' \ -H 'Connect-Protocol-Version: 1' \ -H 'Content-Type: application/json' \ -d '{ "projectId": "string", "grantedOrganizationId": "string"}'{ "changeDate": "2023-01-15T01:30:15.01Z"}Was this page helpful?
Update Project
Explore the Update Project operation in the ZITADEL API. Learn about request parameters, response schemas, and integration details for this endpoint.
Update Project Role
Update Project Role: Change a project role. The key is not editable. If a key should change, remove the role and create a new one. Required permission:
