Create Runbook
POST {{baseUrl}}/runbooks
Add runbook to the team. Returns the runbook object in response.
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"=>"<string>", "type"=>"<string>"}, "owner_id"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | null | ||
Content-Type | string |
RESPONSES
status: Created
{"data":{"id":"62bad0f9837019eaca00f6ac","name":"test-runbook","created":{"user_name":"Punit Kumar","username_for_display":"punit","user_id":"60f12dd3814bef0008c4036e","at":"2022-06-28T09:59:21.057627702Z"},"updated":{"user_name":"Punit Kumar","username_for_display":"punit","user_id":"60f12dd3814bef0008c4036e","at":"2022-06-28T09:59:21.057627702Z"},"used_count":0,"steps":[{"content":"test"}],"organization_id":"60cb200bc9de4a0008d2fc41","owner":{"id":"6129c3ddabffee4c428b420d","type":"team"},"access_control":null}}