Skip to content
Sign in Create account

Patch notifications

PATCH /api/v1/organisation/notifications

Manage the authenticated user’s organization profile, members, invitations, or deletion schedule.

Authenticate with a portal session token.

Request body (optional)

application/json OrggrcOrganisationNotifications

  • slack_webhook string or null
    Length: at most 512 characters. Pattern: ^https://hooks\.slack\.com/services/.+$. Example: "https://hooks.slack.com/services/example"
  • weekly_digest boolean

Example

{
  "weekly_digest": true
}

Responses

200 Operation completed successfully.

application/json object

Any keys are accepted.

401 Authentication is required or invalid.

application/json ErrorWithCode

  • error_code string required
  • message string required
  • request_id string (uuid)
  • status string required
    Example: "error"
403 The authenticated user is not permitted to perform this operation.

application/json ErrorWithCode

  • error_code string required
  • message string required
  • request_id string (uuid)
  • status string required
    Example: "error"
404 The requested resource was not found.

application/json ErrorWithCode

  • error_code string required
  • message string required
  • request_id string (uuid)
  • status string required
    Example: "error"
422 The request failed validation.

application/json ErrorWithCode

  • error_code string required
  • message string required
  • request_id string (uuid)
  • status string required
    Example: "error"
429 The request was rate limited.

application/json ErrorWithCode

  • error_code string required
  • message string required
  • request_id string (uuid)
  • status string required
    Example: "error"

text/html string