Delete Single Row
curl --request DELETE \
--url https://cloudlab.scispot.io/labsheets/delete-row-by-uuid \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://cloudlab.scispot.io/labsheets/delete-row-by-uuid', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labsheets/delete-row-by-uuid"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)[
{
"uuid": "<uuid>",
"success": "true"
}
]{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Not found"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Labsheets (LIMS) API
Delete Single Row
Remove rows from a labsheet given the row uuids and labsheet name. Row uuids are unique identifiers for each row in your labsheet and can be found using the Get Labsheet Rows endpoint.
DELETE
https://cloudlab.scispot.io
/
labsheets
/
delete-row-by-uuid
Delete Single Row
curl --request DELETE \
--url https://cloudlab.scispot.io/labsheets/delete-row-by-uuid \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://cloudlab.scispot.io/labsheets/delete-row-by-uuid', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labsheets/delete-row-by-uuid"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)[
{
"uuid": "<uuid>",
"success": "true"
}
]{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Not found"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Authorizations
Personal access token from Scispot Account → Personal Tokens
Query Parameters
the name of the labsheet
the uuid of the row to be deleted
Optional (Default false). Waits for the data to be reindexed before returning a success. This will add up to 1 second of latency to the requests, so only use this flag if there is a need to query this item again.
⌘I
