Skip to main content

Mass Repository Grant Delete

mass repository grant delete​

Revoke a sharing grant by id

Synopsis​

Delete Repository Grant

Revokes a sharing grant by id. Recipients that qualified only through this grant immediately lose access to the repository.

Usage​

shell
mass repository grant delete <grant-id>

Examples​

shell
# Find the grant id, then revoke it
mass repository grant list aws-aurora-postgres
mass repository grant delete 4f2a9c18-1f0e-4a5c-9a3e-2b6d7c8e9f10

Notes​

  • Grants are immutable, so changing one means deleting it and creating a replacement.
  • This does not prompt for confirmation. A revoked grant can be re-created with mass repository grant create.
mass repository grant delete <grant-id> [flags]

Options​

  -h, --help   help for delete

Options inherited from parent commands​

      --profile string   Configuration profile to use (overrides MASSDRIVER_PROFILE and the active profile)

SEE ALSO​