Activate Project Grant
Set the state of the project grant to activated.
Required permission:
project.grant.write
POST
Connect-Protocol-Version*1Define the version of the Connect protocol
Value in
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.
Success
application/json- response
changeDate?change_dateChangeDate is the timestamp of the change of the project grant.
Format
date-timecurl -X POST 'https://example.com/zitadel.project.v2.ProjectService/ActivateProjectGrant' \ -H 'Connect-Protocol-Version: 1' \ -H 'Content-Type: application/json' \ -d '{ "projectId": "string", "grantedOrganizationId": "string"}'Example Response
{ "changeDate": "2023-01-15T01:30:15.01Z"}Was this page helpful?
