Skip to content
bynhDocs

Resend an access link

POST/workspaces/{workspace}/access/requests/{accessRequest}/resend

Emails a fresh private link to someone whose access is still live. The old link stops working.

Authentication

Send an API token as a bearer token. This endpoint needs a read and write token, made by an editor, admin or owner. Create one in My account → API tokens; see scopes and roles.

Authorization: Bearer 42|bynh_pat_•••••••Header

Path parameters

  • workspacestringRequired

    Your workspace slug, e.g. dokan.

  • accessRequestintegerRequired

    Access request id.

Response

200 OK

Confirmation.

  • sentbooleanAlways true.

Rate limits

This endpoint counts toward your general limit of 120 requests a minute and its own limit of 60 an hour. Its own limit answers 429 without Retry-After; wait and try again.

Errors

401The token is missing, wrong, revoked or expired.
403The token is read-only (message: “This token is read-only. Create a read and write token to make changes.”). Or: The token’s owner is a viewer (“Viewers can read everything but can’t change it.”), or the workspace’s editing is paused (a billing message, e.g. “Your trial has ended, so editing is paused. …”).
404The token belongs to another workspace, or its owner is no longer a member.
422Access has ended: “Their access has ended. Ask them to request it again.” (errors.status).
429More than 60 invites/resends an hour.

Every error is JSON with a message. See Errors.

Next →List reports
curl -X POST "https://api.bynh.io/api/v1/workspaces/dokan/access/requests/1/resend" \
  -H "Authorization: Bearer $BYNH_TOKEN" \
  -H "Accept: application/json"

Response200 OK

application/json
{
  "data": {
    "sent": true
  }
}

Examples use Dokan, a sample workspace. Responses are shortened where lists are long.