---
title: "PUT /api/guilds/{guild_id}/members/{member_id}/"
method: PUT
path: "/api/guilds/{guild_id}/members/{member_id}/"
tags: ["api"]
---

# PUT /api/guilds/{guild_id}/members/{member_id}/

`PUT /api/guilds/{guild_id}/members/{member_id}/`

## Path parameters

- `guild_id` string, required
- `member_id` string, required

## Response `200`

- MemberJoinGuildResponse
  - `guild` GuildCreateResponse, required
    - `id` string, required
    - `name` string, required
    - `large` boolean
    - `max_members` integer
    - `max_presences` integer
    - `max_video_channel_users` integer
    - `member_count` integer
    - `presence_count` integer
    - `mfa_level` integer
    - `owner_id` string
    - `premium_subscription_count` integer
    - `premium_tier` integer
    - `welcome_screen` GuildWelcomeScreen, required
      - `enabled` boolean, required
      - `description` string, required
      - `welcome_channels` object[], required
        - `description` string, required
        - `emoji_id` string
        - `emoji_name` string
        - `channel_id` string, required
    - `widget_channel_id` string
    - `widget_enabled` boolean, required
    - `nsfw_level` integer
    - `nsfw` boolean, required
    - `parent` string
    - `region` string
    - `icon` string, nullable
    - `system_channel_id` string
    - `rules_channel_id` string
    - `guild_template_code` string
    - `staff_only` boolean
    - `banner` string, nullable
    - `splash` string, nullable
    - `description` string
    - `features` string[]
    - `verification_level` integer
    - `default_message_notifications` integer
    - `system_channel_flags` integer
    - `explicit_content_filter` integer
    - `public_updates_channel_id` string
    - `afk_timeout` integer
    - `afk_channel_id` string
    - `preferred_locale` string
    - `premium_progress_bar_enabled` boolean
    - `discovery_splash` string
    - `safety_alerts_channel_id` string, nullable
  - `emojis` EmojiResponse[], required
    - `id` string, nullable, required
    - `name` string, nullable, required
    - `roles` string[]
    - `user` PartialUser
      - `id` string, required — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
      - `username` string, required
      - `discriminator` string, required
      - `global_name` string, nullable
      - `avatar` string, nullable, required
      - `avatar_decoration_data` AvatarDecorationData
        - `asset` string, required
        - `sku_id` string, required — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
        - `expires_at` string, nullable, required
      - `collectibles` Collectibles
        - `nameplate` NameplateData, required
          - `asset` string, required
          - `sku_id` string, required — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
          - `label` string, required
          - `palette` string, required
          - `expires_at` integer, nullable, required
      - `display_name_styles` DisplayNameStyle
        - `font_id` integer, required
        - `effect_id` integer, required
        - `colors` integer[], required
      - `primary_guild` PrimaryGuild
        - `identity_enabled` boolean, nullable, required
        - `identity_guild_id` string, nullable, required
        - `tag` string, nullable, required
        - `badge` string, nullable, required
      - `bot` boolean
      - `system` boolean
      - `banner` string, nullable
      - `accent_color` integer, nullable
      - `public_flags` integer
    - `require_colons` boolean
    - `managed` boolean
    - `animated` boolean
    - `available` boolean
  - `roles` RoleResponse[], required
    - `id` string, required — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
    - `name` string, required
    - `description` string, nullable, required
    - `color` integer, required
    - `colors` RoleColors, required
      - `primary_color` integer, required
      - `secondary_color` integer
      - `tertiary_color` integer
    - `hoist` boolean, required
    - `icon` string, nullable
    - `unicode_emoji` string, nullable
    - `position` integer, required
    - `permissions` string, required
    - `managed` boolean, required
    - `mentionable` boolean, required
    - `flags` integer
    - `tags` RoleTags
      - `bot_id` string — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
      - `integration_id` string — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
      - `subscription_listing_id` string — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
      - `premium_subscriber` boolean, nullable
      - `available_for_purchase` boolean, nullable
      - `guild_connections` boolean, nullable
  - `stickers` StickerResponse[], required
    - `id` string, required — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
    - `pack_id` string — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
    - `name` string, required
    - `description` string, nullable, required
    - `tags` string, required
    - `type` 1 | 2, required
    - `format_type` 1 | 2 | 3 | 4, required
    - `available` boolean
    - `guild_id` string — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
    - `user` PartialUser
      - `id` string, required — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
      - `username` string, required
      - `discriminator` string, required
      - `global_name` string, nullable
      - `avatar` string, nullable, required
      - `avatar_decoration_data` AvatarDecorationData
        - `asset` string, required
        - `sku_id` string, required — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
        - `expires_at` string, nullable, required
      - `collectibles` Collectibles
        - `nameplate` NameplateData, required
          - `asset` string, required
          - `sku_id` string, required — A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z ``` If we have a snowflake '266241948824764416' we can represent it as binary: 64 22 17 12 0 000000111011000111100001101001000101000000 00001 00000 000000000000 number of ms since Discord epoch worker pid increment ```
          - `label` string, required
          - `palette` string, required
          - `expires_at` integer, nullable, required
      - `display_name_styles` DisplayNameStyle
        - `font_id` integer, required
        - `effect_id` integer, required
        - `colors` integer[], required
      - `primary_guild` PrimaryGuild
        - `identity_enabled` boolean, nullable, required
        - `identity_guild_id` string, nullable, required
        - `tag` string, nullable, required
        - `badge` string, nullable, required
      - `bot` boolean
      - `system` boolean
      - `banner` string, nullable
      - `accent_color` integer, nullable
      - `public_flags` integer
    - `sort_value` integer

## Other responses

- `403`
- `404`

---

[API](https://skmtc.net/spacebarchat/apis/spacebar-server.md) · [All operations](https://skmtc.net/spacebarchat/apis/spacebar-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spacebarchat/spacebar-server/versions/5b4adb561b25/schema)
