Skip to main content

Create a group

POST 

/admin/groups.json

Create a group

Request

Body

    group objectrequired
    name stringrequired
    full_name stringrequired
    bio_raw stringrequired

    About Group

    usernames stringrequired

    comma,separated

    owner_usernames stringrequired

    comma,separated

    automatic_membership_email_domains stringrequired

    pipe|separated

    visibility_level integerrequired
    primary_group booleanrequired
    flair_icon stringrequired
    flair_upload_id integerrequired
    flair_bg_color stringrequired
    public_admission booleanrequired
    public_exit booleanrequired
    default_notification_level integerrequired
    muted_category_ids integer[]required
    regular_category_ids integer[]required
    watching_category_ids integer[]required
    tracking_category_ids integer[]required
    watching_first_post_category_ids integer[]required

Responses

group created

Schema
    basic_group objectrequired
    id integerrequired
    automatic booleanrequired
    name stringrequired
    user_count integerrequired
    mentionable_level integerrequired
    messageable_level integerrequired
    visibility_level integerrequired
    primary_group booleanrequired
    title stringnullrequired
    grant_trust_level stringnullrequired
    incoming_email stringnullrequired
    has_messages booleanrequired
    flair_url stringnullrequired
    flair_bg_color stringnullrequired
    flair_color stringnullrequired
    bio_raw stringnullrequired
    bio_cooked stringnullrequired
    bio_excerpt stringnullrequired
    public_admission booleanrequired
    public_exit booleanrequired
    allow_membership_requests booleanrequired
    full_name stringnullrequired
    default_notification_level integerrequired
    membership_request_template stringnullrequired
    members_visibility_level integerrequired
    can_see_members booleanrequired
    can_admin_group booleanrequired
    can_edit_group booleanrequired
    publish_read_state booleanrequired
Loading...