Tasuku
ReferenceAPI referenceSlack

Enable or disable Slack alerts and select their channel

PUT/organizations/{organization_id}/slack/alerts

Authorization

tasuku_session<token>

In: cookie

Path Parameters

organization_id*string
Length1 <= length <= 128

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/organizations/string/slack/alerts" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
{  "data": {    "enabled": true,    "channel_id": "string",    "channel_name": "string"  }}