Update Service
PUT {{baseUrl}}/services/:serviceID
Update the basic service details and change escalation policy for the service.
Requires access_token
as a Bearer {{token}}
in the Authorization
header with service-write
scope.
Request Body
{"name"=>"<string>", "description"=>"<string>", "escalation_policy_id"=>"<string>", "email_prefix"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | null | ||
Content-Type | string |
RESPONSES
status: OK
{"data":{"id":"5e8edb24668e003cb0b18ba1","name":"New name","slug":"payment-api-service","email":"support@gopherhut.incidents.squadcast.com","escalation_policy_id":"5d81d9407000fb6b9def7e33","organization_id":"5d81d9187000fb6b9def7e32","api_key":"2f81ac8b2362990dd220f8bb4f7cd30ccc3dac43","description":"Payment API Service monitor","depends":null,"escalation_policy":{"id":"5d81d9407000fb6b9def7e33","name":"Example Escalation Policy","description":"On-Boarding Example","slug":"example-escalation-policy"}}}