Share Management

Update share link by id

Changed on

Updates the share with the specified id.

put/shares/{id}

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Path parameters

idstring required
Example:abcd-efgh-ijkl

id of the object

Request body

idstring required
resource_idstring uuid required
user_idstring nullable
expiration_dtstring date-time nullable
is_revokedboolean

Example request

{
  "id": "abcd-efgh-ijkl",
  "resource_id": "7bea4732-214f-40e7-9161-4e7241a2b97e"
}

Response

OK

Changes

    • warning

      changed the pattern of the path request parameter id from ^[a-z]{3}-[a-z]{3}-[a-z]{3}$ to ^[a-z]{4}-[a-z]{4}-[a-z]{4}$

    • warning

      changed the pattern of the request property from ^[a-z]{3}-[a-z]{3}-[a-z]{3}$ to ^[a-z]{4}-[a-z]{4}-[a-z]{4}$

    • warning

      changed the pattern of the path request parameter id from ^[a-z]{4}-[a-z]{4}-[a-z]{4}$ to ^[a-z]{3}-[a-z]{3}-[a-z]{3}$

    • warning

      changed the pattern of the request property from ^[a-z]{4}-[a-z]{4}-[a-z]{4}$ to ^[a-z]{3}-[a-z]{3}-[a-z]{3}$