Update a board member (no effect)
Kept for clients written when boards had roles of their own. Boards no longer have roles, so this changes nothing: it answers the person's entry, or 404 if they are not named on the board.
Requires the board:member:write scope.
Authorization
Parameters
Path parameters
boardIDstring requiredThe board's ID.userIDstring requiredThe person's user ID.
Request body required
user_idstringrolestring deprecatedIgnored. Boards have no roles.
Responses
200
The person's entry, unchanged.
dataobjectmemberMemberShow Member properties
user_idstringadded_bystringadded_atstring (date-time)
400
The body is not JSON for this endpoint, or carries a field it does not
know (INVALID_BODY), or a field breaks a rule (VALIDATION_ERROR;
the message says which).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
It does not exist, or it is on a board the caller cannot see (NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X PATCH 'https://evohub.io/api/v1/board/boards/brd_5b0c8e1a2f3d4c6b9a7e0d1f2c3b4a59/members/usr_6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"role": "editor"
}'
