Skip to content

Commit

Permalink
updating team_membership and user docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott McAllister committed May 29, 2020
1 parent 3d81df8 commit 34103b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion website/docs/r/team_membership.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ The following arguments are supported:

* `user_id` - (Required) The ID of the user to add to the team.
* `team_id` - (Required) The ID of the team in which the user will belong.
* `role` - (Optional) The role of the user in the team. One of `observer`, `responder`, or `manager`. Defaults to `manager`.
* `role` - (Optional) The role of the user in the team. One of `observer`, `responder`, or `manager`. Defaults to `manager`. These roles match up to user roles in the following ways:
* User role of `user` is a Team role of `manager`
* User role of `limited_user` is a Team role of `responder`

## Attributes Reference

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/user.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The following arguments are supported:
* `name` - (Required) The name of the user.
* `email` - (Required) The user's email address.
* `color` - (Optional) The schedule color for the user. Valid options are purple, red, green, blue, teal, orange, brown, turquoise, dark-slate-blue, cayenne, orange-red, dark-orchid, dark-slate-grey, lime, dark-magenta, lime-green, midnight-blue, deep-pink, dark-green, dark-orange, dark-cyan, darkolive-green, dark-slate-gray, grey20, firebrick, maroon, crimson, dark-red, dark-goldenrod, chocolate, medium-violet-red, sea-green, olivedrab, forest-green, dark-olive-green, blue-violet, royal-blue, indigo, slate-blue, saddle-brown, or steel-blue.
* `role` - (Optional) The user role. Account must have the `read_only_users` ability to set a user as a `read_only_user`. Can be `admin`, `limited_user`, `observer`, `owner`, `read_only_user` or `user`
* `role` - (Optional) The user role. Account must have the `read_only_users` ability to set a user as a `read_only_user`. Can be `admin`, `limited_user`, `observer`, `owner`, `read_only_user`, `restricted_user`, or `user`
* `job_title` - (Optional) The user's title.
* `teams` - (Optional, **DEPRECATED**) A list of teams the user should belong to. Please use `pagerduty_team_membership` instead.
* `description` - (Optional) A human-friendly description of the user.
Expand Down

0 comments on commit 34103b3

Please sign in to comment.