Allows a project admin to create a project-scoped policy mask. The mask controls which managed policies and managed permission sets are available within this project. Access is controlled by the project.
The auth token's access policy must allow action:use/createPolicyMask.
- https://access.eqix.equinix.comhttps://access.eqix.equinix.com/v1/projects/{projectId}/policyMasks
{ "managedPolicies": "none", "managedPermissionSets": "none", "subtract": { "managedPolicies": [ … ], "managedPermissionSets": [ … ] }, "tags": { "property1": "my tag value", "property2": "my tag value" }, "description": "A description string.", "policyMaskId": "policymask:my-mask" }
Success
A string timestamp indicating when the resource was last updated. Formatted like: "2025-02-12T17:24:19.033772087Z"
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.
Equinix resource name, a universally unique identifier for a resource across all clouds, regions, and services. Formatted as "ern:<cloudId>:<serviceId>:<regionId>:<projectId>:<resourceType>:<resourceId>".
A string indicating the principal who last invoked an operation to update the resource.
Uniquely identifies a policy mask globally or within a governing project.
{ "description": "A description string.", "tags": { "property1": "my tag value", "property2": "my tag value" }, "managedPermissionSets": "none", "updatedAt": "2024-01-15T12:00:00Z", "createdBy": "principal:ABCD-EFG-12345:idp:example-user", "createdAt": "2024-01-15T12:00:00Z", "rev": "abc123", "ern": "ern:eqix:equinix/sts:global:abc-123:SomeType:res-id", "disabledPolicy": true, "updatedBy": "principal:ABCD-EFG-12345:idp:example-user", "policyMaskId": "policymask:my-mask", "managedPolicies": "none", "subtract": { "managedPolicies": [ … ], "managedPermissionSets": [ … ] } }