Updates a principal policy in a project by user principal. Access to this operation is controlled at the project level. Fails if the policy is disabled.
The auth token's access policy must allow action:use/updatePrincipalPolicy.
Indicates that the principal policy should be updated even if it includes invalid references to permission objects. Setting to "existing" will allow existing invalid references to remain, but will complain if new invalid references are introduced. Setting to "additional" will allow both existing and new invalid references to be accepted without complaint.
An opaque string that represents the expected revision of a given resource. This is provided when a resource is updated so that if a concurrent update has occurred since the resource was read, then the collision will be detected.
- https://access.eqix.equinix.comhttps://access.eqix.equinix.com/v1/projects/{projectId}/principalPolicies/{userPrincipal}
{ "permissions": [ { … } ], "tags": { "property1": "my tag value", "property2": "my tag value" }, "description": "A description string.", "allowBadRefs": "additional", "lastRev": "abc123" }
Success
A string timestamp indicating when the resource was last updated. Formatted like: "2025-02-12T17:24:19.033772087Z"
Globally unique string identifier for a principal formatted like "principal:...".
A string indicating the principal who invoked an operation to create the resource.
A string timestamp indicating when the resource was created. Formatted like: "2025-02-12T17:24:19.033772087Z"
An opaque string that represents the revision of a given resource. Each time the resource is updated, this value changes.
A string timestamp indicating when the resource was last updated. Formatted like: "2025-02-12T17:24:19.033772087Z"
A string indicating the principal who last invoked an operation to update the resource.
{ "description": "A description string.", "tags": { "property1": "my tag value", "property2": "my tag value" }, "updatedAt": "2024-01-15T12:00:00Z", "userPrincipal": "principal:abc-123:idp:example-user", "permissions": [ { … } ], "createdBy": "principal:ABCD-EFG-12345:idp:example-user", "createdAt": "2024-01-15T12:00:00Z", "rev": "abc123", "approvedAt": "2024-01-15T12:00:00Z", "disabledPolicy": true, "updatedBy": "principal:ABCD-EFG-12345:idp:example-user", "approvedBy": "principal:ABCD-EFG-12345:idp:example-user" }