Skip to main content
PATCH
/
admin
/
v1
/
networks
/
{network_id}
/
spaces
/
{space_id}
/
members
/
{user_id}
/
Update a member's role in the space
curl --request PATCH \
  --url https://api.mn.co/admin/v1/networks/{network_id}/spaces/{space_id}/members/{user_id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "role": "moderator"
}'
{
  "id": "1234",
  "created_at": "2025-11-07T23:17:21+00:00",
  "updated_at": "2025-11-07T23:17:21+00:00",
  "email": "ada.lovelace@example.com",
  "first_name": "<string>",
  "last_name": "<string>",
  "time_zone": "<string>",
  "location": "<string>",
  "referral_count": 123,
  "avatar": "<string>",
  "categories": "<string>",
  "permalink": "<string>",
  "ambassador_level": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

space_id
integer
required
user_id
integer
required
network_id
required

The Network's unique integer ID, or subdomain Unique numeric network ID

Body

application/json

Submit results as JSON

Request body for updating a member's role in the network

role
string
required

New role for the member (host, moderator, contributor)

Example:

"moderator"

Response

The updated member object

A member of a network

id
integer
required

The record's integer ID

Example:

"1234"

created_at
string<date-time>
required

The date and time the record was created

Example:

"2025-11-07T23:17:21+00:00"

updated_at
string<date-time>
required

The date and time the record was last modified

Example:

"2025-11-07T23:17:21+00:00"

email
string<email>
required

The member's email address

Example:

"ada.lovelace@example.com"

Canonical URL to the member's profile page

first_name
string

The member's first name

last_name
string

The member's last name

time_zone
string

The member's time zone

location
string

The member's location

referral_count
integer

Number of referrals made by this member

avatar
string

URL to the member's avatar image

categories
string

Array of category objects with id and title

ambassador_level
string

The member's ambassador level