/boards/:boardId/forms/:formId/share-links/:shareLinkId

Change the settings of a form's share link

Path Params
uuid
required

the id of the board

uuid
required

the id of the form

string
required

the id of the share link, from GET or POST

Body Params

Settings for a content collection form's share link. Omitted settings are not changed.

password, expiresAt, and requireAccount are stored on every plan. These routes do not return 422.

allowDownload, comments, and customFields are returned from the Content Collection role. Omitting one, sending the value the response shows, or sending another accepted value succeeds. None of them change what the visitor can do.

boolean

Whether the link works. false disables the link and keeps it. A disabled link still counts as existing.

boolean

Accepted and not applied. The response value comes from the Content Collection role.

string | null

Password visitors must enter. null on PATCH removes it. Never returned. Read hasPassword instead. An empty string is 400. Not plan-gated on a form link.

date-time | null

When the link stops working. Must be in the future. null on PATCH clears it. Not plan-gated on a form link.

boolean

Whether visitors must sign in to Air. On create, omitting it uses the workspace default for form links, which can set it to true. Not plan-gated on a form link.

string
enum

Accepted and not applied. The response value comes from the Content Collection role.

Allowed:
string
enum

Accepted and not applied. The response value comes from the Content Collection role.

Allowed:
Responses
204

Share link updated successfully

400

Invalid request body, including an empty password, a null where it is not allowed, or an expiresAt that is not in the future

403

You do not have permission to edit this share link

404

The form has no share link, or shareLinkId is not this form's link

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!