Update Loop Settings
Update your Loop Settings.
Authorizations
Body
org_namestring · min: 1Required
Name to display at the top of the Loop UI for end-users.
This defaults to your Org name as per your PredictHQ account, however you can customize it here to make it different.
E.g. My Org Name
Responses
204
Successful Response
No content
422
Validation Error
application/json
put
/v1/loop/settingsPUT /v1/loop/settings HTTP/1.1
Host: api.predicthq.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"org_name": "text"
}No content
Examples
curl -X PUT "https://api.predicthq.com/v1/loop/settings" \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @<(cat <<EOF
{
"org_name": "My Org Name"
}
EOF
)import requests
response = requests.put(
url="https://api.predicthq.com/v1/loop/settings",
headers={
"Authorization": "Bearer $ACCESS_TOKEN",
"Accept": "application/json"
},
json={
"org_name": "My Org Name"
}
)
print(response.status_code)OpenAPI Spec
The OpenAPI spec for Loop API can be found here.
Guides
ow are some guides relevant to this API:
Last updated
Was this helpful?