PATCH
/
v1
/
orchestrate
/
agents
/
{agent_id}
/
environments
/
{environment_id}
/
channels
/
slack
/
{channel_id}
Update Slack Channel
curl --request PATCH \
  --url http://{api_endpoint}/api/v1/v1/orchestrate/agents/{agent_id}/environments/{environment_id}/channels/slack/{channel_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "channel_app_id": "<string>",
  "channel": "byo_slack",
  "created_on": "<string>",
  "updated_at": "<string>",
  "created_by": "<string>",
  "updated_by": "<string>",
  "description": "<string>",
  "client_id": "<string>",
  "client_secret": "<string>",
  "signing_secret": "<string>",
  "teams": [
    {
      "id": "<string>",
      "bot_access_token": "<string>"
    }
  ],
  "code": "<string>"
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required
environment_id
string
required
channel_id
string<uuid>
required

Body

application/json

Response

Successful Response

The response is of type any.