Skip to content

Latest commit

 

History

History
98 lines (67 loc) · 2.54 KB

access.md

File metadata and controls

98 lines (67 loc) · 2.54 KB

heroku access

manage user access to apps

heroku access

list who has access to an app

USAGE
  $ heroku access -a <value> [-r <value>] [--json]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use
      --json            output in json format

DESCRIPTION
  list who has access to an app

See code: src/commands/access/index.ts

heroku access:add EMAIL

add new users to your app

USAGE
  $ heroku access:add EMAIL -a <value> [-r <value>] [-p <value>]

ARGUMENTS
  EMAIL  email address of the team member

FLAGS
  -a, --app=<value>          (required) app to run command against
  -p, --permissions=<value>  list of permissions comma separated
  -r, --remote=<value>       git remote of app to use

DESCRIPTION
  add new users to your app

EXAMPLES
  $ heroku access:add user@email.com --app APP # add a collaborator to your app

  $ heroku access:add user@email.com --app APP --permissions deploy,manage,operate # permissions must be comma separated

See code: src/commands/access/add.ts

heroku access:remove

remove users from a team app

USAGE
  $ heroku access:remove -a <value> [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  git remote of app to use

DESCRIPTION
  remove users from a team app

EXAMPLES
  $ heroku access:remove user@email.com --app APP

See code: src/commands/access/remove.ts

heroku access:update EMAIL

update existing collaborators on an team app

USAGE
  $ heroku access:update EMAIL -p <value> -a <value> [-r <value>]

ARGUMENTS
  EMAIL  email address of the team member

FLAGS
  -a, --app=<value>          (required) app to run command against
  -p, --permissions=<value>  (required) comma-delimited list of permissions to update (deploy,manage,operate)
  -r, --remote=<value>       git remote of app to use

DESCRIPTION
  update existing collaborators on an team app

See code: src/commands/access/update.ts