directory

ProjectIam_setIamPolicy

Alpha

POST /v1/projects/{project}:setIamPolicy
PropertyValue
Permissionresourcemanager.projects.setIamPolicy
RiskR4
Lifecyclealpha
Request bodyyes
Agent toolnever (a person only)

Parameters

NameInRequiredType
projectpathyesstring

Responses

200, 400, 401, 402, 403, 404, 409, 412, 422, 429, 451, 500, 501, 503, 504

An error is an application/problem+json body; its code is one of the problem codes.