Bevy API GDG
  1. User
Bevy API GDG
  • Attendee
    • Add Attendees
      POST
    • Get Attendee Search
      GET
    • Update Attendee
      PUT
    • Send Event Email
      PUT
    • Resend Event Email
      POST
    • Get Event Attendees
      GET
    • Checkin Attendee
      PUT
    • Delete attendee registration
      DELETE
    • Get Attendee by ID
      GET
    • Delete all attendee registrations by event
      DELETE
  • Order
    • Add Order
      POST
    • Update Order
      PUT
    • Check Order by ID
      GET
  • Membership
    • Add Membership
      POST
  • Bevy Virtual
    • Get Main Stage Video
      GET
    • Get Session Video IDs
      GET
    • Get Session Video URLs
      GET
  • Chapter
    • Get Chapters Status
    • Get Chapter Regions
    • Create Chapter
    • List chapters
    • Get Chapter by ID
    • List Chapter Events
    • List Chapter Members
    • Add Chapter Member
    • List Chapter Team
    • Add Chapter Team Member
    • Update Chapter Team Member
    • Partial Update Chapter Team Member
    • Delete Chapter Team Member
    • Add chapter's members in batch
    • Delete chapter's member
  • Cohosted Events
    • List collaborating chapters
    • Delete cohosted event
    • Add all chapters as cohosts
    • Chapters a user can add as a cohost
  • Event
    • Get Event Counts
    • Get Event by ID
    • List events
    • List event types
    • Get Event Type by ID
    • List Event Attendees
    • List event tags
  • Search
    • Search chapters
    • Search events
  • User
    • List users
      GET
    • Get User by ID or Email
      GET
    • Update User
      PATCH
    • Delete User
      DELETE
    • Deactivate User
      POST
    • List user's events
      GET
    • List user's chapters
      GET
    • List user's chapter teams
      GET
    • Create Prospective User
      POST
    • Opt out of emails
      POST
    • Get User Counts
      GET
  1. User

Opt out of emails

POST
/user/mail/optout/
User
Opt a user out of all newsletter email lists. The user will still receive system and attendee-specific emails.
Even though the value is updated, this change is not reflected in the member details in the Chapter dashboard.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/user/mail/optout/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "user_id": "1234"
}'
Response Response Example
400 - Example 1
{
    "details": "The request is invalid. The rational will be in the response body."
}

Request

Body Params application/json
user_id
string 
optional
The ID of the user to opt out of emails.
Example:
1234
Examples

Responses

🟢200OK
User opted out of emails.
This response does not have a body.
🟠400Bad Request
🟠403Forbidden
Previous
Create Prospective User
Next
Get User Counts
Built with