Delete Rows
curl --request POST \
--url https://cloudlab.scispot.io/labsheets/delete-rows-by-uuids \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"labsheet": "Sample Manager",
"uuids": [
"<uuid>"
],
"waitRefresh": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({labsheet: 'Sample Manager', uuids: ['<uuid>'], waitRefresh: true})
};
fetch('https://cloudlab.scispot.io/labsheets/delete-rows-by-uuids', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labsheets/delete-rows-by-uuids"
payload = {
"labsheet": "Sample Manager",
"uuids": ["<uuid>"],
"waitRefresh": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"uuids": [
"<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 Rows
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.
POST
https://cloudlab.scispot.io
/
labsheets
/
delete-rows-by-uuids
Delete Rows
curl --request POST \
--url https://cloudlab.scispot.io/labsheets/delete-rows-by-uuids \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"labsheet": "Sample Manager",
"uuids": [
"<uuid>"
],
"waitRefresh": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({labsheet: 'Sample Manager', uuids: ['<uuid>'], waitRefresh: true})
};
fetch('https://cloudlab.scispot.io/labsheets/delete-rows-by-uuids', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labsheets/delete-rows-by-uuids"
payload = {
"labsheet": "Sample Manager",
"uuids": ["<uuid>"],
"waitRefresh": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"uuids": [
"<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
Body
application/json
The name of the labsheet where the rows are located.
The array of uuids of the rows to delete.
The uuids of the row to delete.
Optional. 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
