Skip to content

gplay team grants remove

Remove <email>'s access to one app (--package) via grants.delete, WITHOUT removing them from the Developer account — only the per-app grant is deleted. To off-board a member entirely, use gplay team users remove instead.

This is destructive, so it refuses without --confirm (exit 3, naming the flag); CI=true never auto-confirms. Use --dry-run to preview the target with no HTTP call.

gplay team grants remove <email> --package <pkg> [flags]
FlagDescription
--confirmauthorize the removal (required — this is destructive)
--developer-id stringPlay Console Developer account id (overrides the active Account's, env, and project-local)
--dry-runpreview the target without any HTTP call
--output stringoutput format: table, json, or markdown (default: auto — table on TTY, json in pipes/CI)
--package stringthe app (package name) whose access to remove
FlagDescription
--account stringname of a stored Account to use (overrides env and active Account)
--retry intretry transient failures (transport errors, 5xx, 429) up to N times with exponential backoff (default: 0, no retry)
--service-account stringpath to a service-account JSON, or inline JSON content (overrides --account, env, and active Account)
--timeout durationper-request API timeout, e.g. 30s or 2m (default: 60s for control-plane calls, none for uploads)
-v, --verboselog flow steps to stderr (info level)