Set the share mode
PATCH/api/v1/retro/boards/{boardID}/share
Sets what the board's share link lets a guest do:
mode |
A guest with the link |
|---|---|
disabled |
Cannot open the board. |
read_only |
Can view the board. |
participate |
Can view it and add cards, comments, reactions and votes, and edit or delete their own. |
The share mode never limits members of the organization. To revoke links already handed out, rotate the token.
Requires the retro:board:write scope.
Authorization
Parameters
Path parameters
boardIDstring requiredThe board's ID.
Request body required
modeShareMode required
Responses
200
The share mode was set.
successbooleandataobjectshare_modeShareMode
400
The body is not JSON (INVALID_BODY), or mode is not disabled, read_only or participate (INVALID_MODE).
successbooleanSent by Retro itself; refusals before the request reaches Retro (401, 429) carry onlyerror.errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
successbooleanSent by Retro itself; refusals before the request reaches Retro (401, 429) carry onlyerror.errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks the scope this endpoint needs (FORBIDDEN).
successbooleanSent by Retro itself; refusals before the request reaches Retro (401, 429) carry onlyerror.errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
The board does not exist, or the caller cannot see it (NOT_FOUND).
successbooleanSent by Retro itself; refusals before the request reaches Retro (401, 429) carry onlyerror.errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
successbooleanSent by Retro itself; refusals before the request reaches Retro (401, 429) carry onlyerror.errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
successbooleanSent by Retro itself; refusals before the request reaches Retro (401, 429) carry onlyerror.errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X PATCH 'https://evohub.io/api/v1/retro/boards/brd_3f9a1c7e2b8d4a60/share' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"mode": "read_only"
}'
