Update board member
PATCH/v2/boards/:board_id/members/:board_member_id
Updates the role of a board member.
Required scope
boards:writeRate limiting
Level 2Request
Path Parameters
Unique identifier (ID) of the board for which you want to update the role of the board member.
Unique identifier (ID) of the board member whose role you want to update.
- application/json
Body
required
Possible values: [viewer
, commenter
, editor
, coowner
, owner
]
Default value: commenter
Role of the board member.
Responses
- 200
- 400
- 404
- 429
Board member updated
- application/json
- Schema
- Example (from schema)
Schema
Unique identifier (ID) of the user.
Name of the user.
Possible values: [viewer
, commenter
, editor
, coowner
, owner
]
Role of the board member.
links
object
Contains applicable links for the current object.
Link to obtain more information about the current object.
Type of the object that is returned. In this case, type
returns board_member
.
{
"id": "3074457353169356300",
"name": "John Smith",
"role": "viewer",
"links": {
"self": "http://api.miro.com/v2/boards/o9J_koQspF4=/object_type/3074457349143649487"
},
"type": "board_member"
}
Malformed request
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}
Too many requests
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}