Skip to main content
PATCH
JavaScript

Authorizations

Authorization
string
header
required

A company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************

Path Parameters

id
string
required

The unique identifier of the DM channel member to update.

Body

application/json

Parameters for UpdateDmMember

notification_preference
enum<string> | null

The notification setting for this member, controlling how they receive alerts for new messages in this channel.

Available options:
all,
mentions,
none
status
enum<string> | null

The membership status for this member in the DM channel.

Available options:
requested,
accepted,
hidden,
closed,
archived

Response

A successful response

A user's membership record in a messaging channel, including notification preferences and read state.

channel_id
string
required

The unique identifier of the messaging channel this membership belongs to.

id
string
required

The unique identifier for the entity

last_viewed_at
string | null
required

The timestamp when this member last viewed the channel, as a Unix timestamp in milliseconds. Null if the member has never viewed the channel.

Example:

"123.45"

notification_preference
enum<string>
required

The notification level for this channel: all, mentions, or none.

Available options:
all,
mentions,
none
status
enum<string>
required

The current state of this membership: requested, accepted, hidden, closed, or archived.

Available options:
requested,
accepted,
hidden,
closed,
archived
user_id
string
required

The unique identifier of the user who holds this channel membership.