Name a person on a board
Names a person on the board, so they see it whatever its visibility. The person must be a member of the organization. Naming someone who is already on the board changes nothing and answers the same.
What they may do on the board comes from their organization role, not
from the board: a role in the body is accepted and ignored.
Requires the board:member:write scope.
Authorization
Parameters
Path parameters
boardIDstring requiredThe board's ID.
Request body required
user_idstringrolestring deprecatedIgnored. Boards have no roles.
Responses
201
The person is on the board.
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
The board is not one the caller can see (NOT_FOUND), or the person is not in this organization (USER_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
503
The person's membership of the organization could not be checked right now (MEMBERSHIP_CHECK_UNAVAILABLE). Retry shortly.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X POST 'https://evohub.io/api/v1/board/boards/brd_5b0c8e1a2f3d4c6b9a7e0d1f2c3b4a59/members' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"user_id": "usr_6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f"
}'
