edit Custom Link

suspend fun editCustomLink(linkId: String, title: String, description: String, resources: Map<String, String>, fields: Map<String, String>, hasUniqueAccess: Boolean = false, expiredTime: ExpiredTime = ExpiredTime.NO_EXPIRATION): JsonObject

Method to edit a custom link

Return

the result of the request as JsonObject

Parameters

linkId

The identifier of the link to edit

title

Title of the link

description

: description of the link

resources

The resources to share with the link

fields

The fields used to protect the resources with a validation form

hasUniqueAccess

: whether the link, when requested for the first time, must be deleted and no more accessible

expiredTime

: when the link expires and automatically deleted