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
Body
application/json
⌘I
