Allows a user to create a new access policy. The access policy is created in the project identified by the projectId. An access policy contains that same data as a permission set but also includes the grants field for indicating what principals can use the access policy. Access to this operation is controlled by the project being accessed.
The auth token's access policy must allow action:use/createAccessPolicy.
A set of permissions, each of which may be an inline permission, a permission set reference, or a foreign access policy reference.
Entries must appear in both the intersect field and the permissions to be in the results from this permission object.
Entries in the subtract field are not included in the results from this permission object.
Uniquely identifies an access policy within a project.
- https://access.eqix.equinix.comhttps://access.eqix.equinix.com/v1/projects/{projectId}/accessPolicies
{ "tags": { "property1": "my tag value", "property2": "my tag value" }, "description": "A description string.", "permissions": [ { … } ], "intersect": [ { … } ], "subtract": [ { … } ], "accessPolicyId": "accesspolicy:my-policy", "allowBadRefs": "additional" }
Success
A string timestamp indicating when the resource was last updated. Formatted like: "2025-02-12T17:24:19.033772087Z"
A set of permissions, each of which may be an inline permission, a permission set reference, or a foreign access policy reference.
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"
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.
Entries must appear in both the intersect field and the permissions to be in the results from this permission object.
Entries in the subtract field are not included in the results from this permission object.
Uniquely identifies an access policy within a project.
{ "description": "A description string.", "tags": { "property1": "my tag value", "property2": "my tag value" }, "updatedAt": "2024-01-15T12:00:00Z", "permissions": [ { … } ], "createdBy": "principal:ABCD-EFG-12345:idp:example-user", "createdAt": "2024-01-15T12:00:00Z", "rev": "abc123", "approvedAt": "2024-01-15T12:00:00Z", "ern": "ern:eqix:equinix/sts:global:abc-123:SomeType:res-id", "disabledPolicy": true, "updatedBy": "principal:ABCD-EFG-12345:idp:example-user", "managed": true, "intersect": [ { … } ], "subtract": [ { … } ], "accessPolicyId": "accesspolicy:my-policy", "approvedBy": "principal:ABCD-EFG-12345:idp:example-user" }