ScanopyScanopy
Shares

Update a share

PUT
/api/v1/shares/{id}
Authorization<token>

User API key (Bearer scp_u_...). Create in Platform > API Keys.

In: header

Path Parameters

id*string

Share ID

Formatuuid

Request Body

application/json

share*
password?string|null

Response Body

application/json

application/json

curl -X PUT "https://loading/api/v1/shares/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "share": {      "allowed_domains": [        "string"      ],      "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",      "expires_at": "2019-08-24T14:15:22Z",      "is_enabled": true,      "name": "string",      "network_id": "d6797cf4-42b9-4cad-8591-9dd91c3f0fc3",      "options": {        "show_export_button": true,        "show_inspect_panel": true,        "show_zoom_controls": true      },      "topology_id": "a1fb5dbc-e877-4a57-93d2-9d6f34add5bf"    }  }'
{
  "meta": {
    "api_version": 1,
    "server_version": "0.13.5"
  },
  "success": true,
  "data": {
    "allowed_domains": [
      "string"
    ],
    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
    "expires_at": "2019-08-24T14:15:22Z",
    "is_enabled": true,
    "name": "string",
    "network_id": "d6797cf4-42b9-4cad-8591-9dd91c3f0fc3",
    "options": {
      "show_export_button": true,
      "show_inspect_panel": true,
      "show_zoom_controls": true
    },
    "topology_id": "a1fb5dbc-e877-4a57-93d2-9d6f34add5bf",
    "created_at": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "error": "string"
}
{
  "success": true,
  "error": "string"
}