Update shared link details

PUT {{baseUrl}}/shared-links/:id

Update shared link details

Note: itemid, linkuri, public(required for public sharing) fields are mandatory for the PUT call. Permissions, if provided during the creation of shared links should be included in the PUT call and can be updated if required

Request Body

{"item_id"=>"0f1e41dc-f9a0-40da-86c1-1a22db11856f", "link_uri"=>"/app/generated/public/updated_uri", "expiration_time"=>"2022-10-28T00:42:07.544Z", "public"=>true, "properties"=>{"name"=>"John Smith - updated", "address"=>[{"street"=>"1 Memory Ln - updated", "city"=>"Los Angeles - updated"}]}, "permissions"=>[{"identity"=>"application_admin", "identity_type"=>"role", "permissions"=>["browse", "read_content"]}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"link_uri":"dolor laboris proident","item_id":"urn:uuid:e53c9f5b-2a97-0d79-af81-f6aa243d7f53","type":"eiusmod ea consequat nostrud nu","category":"magna est","tenant_id":"b5067302-44af-b381-1df5-bcc80e0274e4","subscription_id":"42367c24-2831-7c42-7899-09795fab22e1","count":-10720265,"create_time":"1979-10-06T04:53:13.917Z","update_time":"1948-09-23T09:10:43.616Z","created_by":"urn:uuid:2a9237a0-75b2-5238-db5d-8791167b77db","updated_by":"76b5fc9b-dc9f-05c8-dcb3-4f1b12fce541","etag":87987518,"owner":"6c67ecca-de6b-3373-460b-93004e9e37f0","permission":[{"identity":"aute ut","identity_type":"role","permissions":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"identity":"laboris ullamco qui","identity_type":"user","permissions":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}],"id":"0d2f9f92-6daf-3e2e-f8e0-f79bf7aaffe0","expiration_time":"1977-06-26T14:21:34.673Z","properties":{},"public":false,"_links":{"self":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"edit":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"urn:eim:linkrel:delete":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"urn:eim:linkrel:shared-item":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}}