Delete a Connect Webview

Delete a specified Connect Webview

Deletes a specified Connect Webview.

You do not need to delete a Connect Webview once a user completes it. Instead, you can simply ignore completed Connect Webviews.

/connect_webviews/delete

POSThttps://connect.getseam.com/connect_webviews/delete
Authorization
Body
connect_webview_id*string (uuid)
Response

OK

Body
ok*boolean
Request
const response = await fetch('https://connect.getseam.com/connect_webviews/delete', {
    method: 'POST',
    headers: {
      "Authorization": "Bearer API Key",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "connect_webview_id": "123e4567-e89b-12d3-a456-426614174000"
    }),
});
const data = await response.json();
Response
{
  "ok": false
}

Request

Specify the desired Connect Webview by including the corresponding connect_webview_id in the request body.

Request Body Parameters

ParameterTypeDescription

connect_webview_id

String Required

ID of the desired Connect Webview

Sample Request

curl -X 'POST' \
  'https://connect.getseam.com/connect_webviews/delete' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer ${API_KEY}' \
  -H 'Content-Type: application/json' \
  -d '{
  "connect_webview_id": "123e4567-e89b-12d3-a456-426614174000"
}'

Response

Returns a Boolean ok status indicator.

Sample Response

{
  "ok": true
}

Last updated

Logo

© Seam Labs, Inc. All rights reserved.