Skip to main content

Disable Policy Mask

Request

Allows a user to disable a project-scoped policy mask. A disabled mask is treated as absent during policy mask resolution. Access is controlled by the mask.

The auth token's access policy must allow action:use/disablePolicyMask.

Security
bearerAuth
Path
projectIdProjectId (string) or * (string)required
One of:

Globally unique identifier of a project.

string(ProjectId)
policyMaskIdPolicyMaskId (string) or Ern (string)required
One of:

Uniquely identifies a policy mask globally or within a governing project.

string(PolicyMaskId)
Bodyapplication/jsonrequired
lastRevstring, [ 1 .. 256 ] characters(LastResourceRev)required

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.

Example:"abc123"
Payload
{ "lastRev": "abc123" }

Responses

Success

Bodyapplication/json
descriptionstring^.{0,500}$
Example:"A description string."
tagsobject, <= 10 properties(Tags)required

Additional user-controlled data about this resource.

managedPermissionSetsstring or Array of strings
One of:
string
Value:"none"
updatedAtstring(UpdatedAt)^.*$

A string timestamp indicating when the resource was last updated. Formatted like: "2025-02-12T17:24:19.033772087Z"

Example:"2024-01-15T12:00:00Z"
createdBystring(CreatedBy)^.*$

A string indicating the principal who invoked an operation to create the resource.

Example:"principal:ABCD-EFG-12345:idp:example-user"
createdAtstring(CreatedAt)^.*$

A string timestamp indicating when the resource was created. Formatted like: "2025-02-12T17:24:19.033772087Z"

Example:"2024-01-15T12:00:00Z"
revstring(ResourceRev)^.*$required

An opaque string that represents the revision of a given resource. Each time the resource is updated, this value changes.

Example:"abc123"
ernstring(Ern)^ern:(?<cloud>[^:]{1,50}):(?<service>[^:/]{1,...required

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>".

Example:"ern:eqix:equinix/sts:global:abc-123:SomeType:res-id"
disabledPolicyany
Value:true
Example:true
updatedBystring(UpdatedBy)^.*$

A string indicating the principal who last invoked an operation to update the resource.

Example:"principal:ABCD-EFG-12345:idp:example-user"
policyMaskIdstring(PolicyMaskId)^policymask:[a-zA-Z](?![^:]*-$)(?![^:]*--)[a-...required

Uniquely identifies a policy mask globally or within a governing project.

Example:"policymask:my-mask"
managedPoliciesstring or Array of strings
One of:
string
Value:"none"
subtractobject
Response
{ "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": [ … ] } }
Was this page helpful?