Skip to content

`PATCH /v1/orgs/{org}/slack/settings`.

PATCH
/v1/orgs/{org}/slack/settings
curl --request PATCH \
--url https://api.updawg.net/v1/orgs/example/slack/settings \
--header 'Content-Type: application/json' \
--data '{ "approvals_from_slack": true }'
org
required
string

Organization slug.

Media typeapplication/json
object
approvals_from_slack
required
boolean

Example generated

{
"approvals_from_slack": true
}

Changed, and audited as slack.settings_changed.

Media typeapplication/json

Whether proposals may be approved from Slack (DAWG-313).

object
approvals_from_slack
required

Off unless an admin turned it on. Rejecting, snoozing, halting and resuming need only a linked account.

boolean

Example generated

{
"approvals_from_slack": true
}

Not a settings document.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

No session.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

Not permitted for this role, or an API token: who may approve from where is a person’s decision.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

No such organization, or not yours — one answer for both.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

The organization’s data is in another region (wrong-region, DAWG-159). detail names that region’s API; send the request there.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

Over the organization’s request limit. Retry-After says when to try again; RateLimit-Limit is the burst.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}