Allows a user to add an external grant to an access policy including a managed policy. Access to this operation is controlled by the access policy being accessed.
The auth token's access policy must allow action:use/addGrant.
Globally unique string identifier for a principal formatted like "principal:...".
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}/accessPolicies/{accessPolicyId}/grants
{ "grantee": "principal:abc-123:idp:example-user", "lastRev": "abc123" }
Success
Uniquely identifies an access policy grant.
Uniquely identifies an access policy within a project.
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>".
Globally unique string identifier for a principal formatted like "principal:...".
A string indicating the principal who invoked an operation to create the resource.
{ "grantId": "grant:ABCDEFGHIJ123", "accessPolicyId": "accesspolicy:my-policy", "accessPolicyErn": "ern:eqix:equinix/sts:global:abc-123:SomeType:res-id", "grantee": "principal:abc-123:idp:example-user", "createdBy": "principal:ABCD-EFG-12345:idp:example-user", "createdAt": "2024-01-15T12:00:00Z" }