Update Active Project
curl --request PUT \
--url https://api.landing.ai/v1/projects/{project_id}/active \
--header 'Content-Type: application/json' \
--data '
{
"isActive": true
}
'import requests
url = "https://api.landing.ai/v1/projects/{project_id}/active"
payload = { "isActive": True }
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({isActive: true})
};
fetch('https://api.landing.ai/v1/projects/{project_id}/active', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Project
Update Active Project
PUT
/
v1
/
projects
/
{project_id}
/
active
Update Active Project
curl --request PUT \
--url https://api.landing.ai/v1/projects/{project_id}/active \
--header 'Content-Type: application/json' \
--data '
{
"isActive": true
}
'import requests
url = "https://api.landing.ai/v1/projects/{project_id}/active"
payload = { "isActive": True }
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({isActive: true})
};
fetch('https://api.landing.ai/v1/projects/{project_id}/active', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}⌘I

