`PUT /v1/orgs/{org}/digest`.
PUT
/v1/orgs/{org}/digest
const url = 'https://api.updawg.net/v1/orgs/example/digest';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"frequency":"example","mention_email":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.updawg.net/v1/orgs/example/digest \ --header 'Content-Type: application/json' \ --data '{ "frequency": "example", "mention_email": true }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
Organization slug.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
frequency
required
off, daily or weekly. Sent at 08:00 in your time zone; weekly on
Mondays.
string
mention_email
Whether you are emailed when somebody mentions you in a comment here
(DAWG-247). On unless turned off. Absent on a PUT leaves it alone.
boolean | null
Examplegenerated
{ "frequency": "example", "mention_email": true}Responses
Section titled “Responses”Set.
Media typeapplication/json
object
frequency
required
off, daily or weekly. Sent at 08:00 in your time zone; weekly on
Mondays.
string
mention_email
Whether you are emailed when somebody mentions you in a comment here
(DAWG-247). On unless turned off. Absent on a PUT leaves it alone.
boolean | null
Examplegenerated
{ "frequency": "example", "mention_email": true}Not off, daily or weekly.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Examplegenerated
{ "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
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No CSRF token.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Examplegenerated
{ "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
Examplegenerated
{ "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
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}