You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Teams Object of array on EscalationPolicy i thinks i can be omitempty
type EscalationPolicy struct {
APIObject
Name string `json:"name,omitempty"`
EscalationRules []EscalationRule `json:"escalation_rules,omitempty"`
Services []APIObject `json:"services,omitempty"`
NumLoops uint `json:"num_loops,omitempty"`
Teams []APIReference `json:"teams,omitempty"`
Description string `json:"description,omitempty"`
OnCallHandoffNotifications string `json:"on_call_handoff_notifications,omitempty"`
}
because it fail if i use UpdateEscalationPolicyWithContext
get Response : HTTP response failed with status code 402, message: Required abilities are unavailable (code: 2014): The teams account ability is required to assign to a team
if it sent object teams with empty array on api update
The text was updated successfully, but these errors were encountered:
Teams Object of array on EscalationPolicy i thinks i can be omitempty
because it fail if i use
UpdateEscalationPolicyWithContext
get Response :
HTTP response failed with status code 402, message: Required abilities are unavailable (code: 2014): The teams account ability is required to assign to a team
if it sent object teams with empty array on api update
The text was updated successfully, but these errors were encountered: