Teams
Teams represent a group of account users. Every team has one active schedule and one active escalation policy.
The Team Object
Property | Type | Description |
---|---|---|
name | string | The name of the team |
escalation_policy_id | string | The ID of the active escalation policy for this team. |
schedule_id | string | The ID of the active schedule for this team. |
member_account_user_ids | string[] | IDs of account users the take on the member role for this team. |
admin_account_user_ids | string[] | IDs of the account users that take on the admin role for this team. |
drop_notifications | string |
|
handoff_notifications | string |
|
drop_notification_account_user_ids | string[] | If drop_notifications set to |
handoff_notification_account_user_ids | string[] | If handoff_notifications set to |
notes | string | Notes to be displayed for this team. |
attachments | hash | :filename, :url |
Create a Team
Allowed Parameters
Required Parameters
name
at least 1 account user as a member role
at least 1 account user as an admin role
A default schedule and escalation policy will be created by PagerTree.
Retrieve a Team
Update a Team
Delete a Team
List all Teams
Current On-Call
Returns on-call event attendees for now for this team. (Handles repeating events and rotations)
Shortcut for schedule current on-call method.
List a Team's Alerts
Return alerts that have been assigned to this team.
Last updated