Update Runbook
PUT {{baseUrl}}/runbooks/:runbookID
Update runbook details.
Requires access_token
as a Bearer {{token}}
in the Authorization
header with user-write
scope.
Request Body
{"name"=>"<string>", "steps"=>[{"content"=>"<string>"}], "entity_owner"=>{"id"=>"6363af3de7ca930b5a4edc9d", "type"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | null | ||
Content-Type | string |
RESPONSES
status: OK
{"data":{"id":"62bad0f9837019eaca00f6ac","name":"test-runbook","created":{"user_name":"Punit Kumar","username_for_display":"punit","user_id":"60f12dd3814bef0008c4036e","at":"2022-06-28T09:59:21.057Z"},"updated":{"user_name":"Punit Kumar","username_for_display":"punit","user_id":"60f12dd3814bef0008c4036e","at":"2022-06-28T09:59:21.057Z"},"used_count":0,"steps":[{"content":"test"},{"content":"test1"}],"organization_id":"60cb200bc9de4a0008d2fc41","owner":{"id":"6129c3ddabffee4c428b420d","type":"team"},"access_control":null}}