updateLink

suspend fun updateLink(linkId: String, name: String? = null, url: String? = null, slug: String? = null): Link

Updates an existing link.

Return

The updated Link object.

Parameters

linkId

The unique identifier of the link to update.

name

The new name for the link. Optional.

url

The new destination URL for the link. Optional.

slug

The new slug for the link (minimum 8 characters). Optional.