curl --request PUT \
--url https://api.trieve.ai/api/organization \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TR-Organization: <tr-organization>' \
--data '{
"name": "<string>",
"partner_configuration": "<any>"
}'
{
"created_at": "2021-01-01 00:00:00.000",
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"name": "Trieve",
"partner_configuration": {
"COMPANY_NAME": "Trieve",
"DEMO_DOMAIN": "demos.trieve.ai",
"FAVICON_URL": "https://cdn.trieve.ai/favicon.ico"
},
"registerable": true,
"updated_at": "2021-01-01 00:00:00.000"
}
Update an organization. Only the owner of the organization can update it.
curl --request PUT \
--url https://api.trieve.ai/api/organization \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TR-Organization: <tr-organization>' \
--data '{
"name": "<string>",
"partner_configuration": "<any>"
}'
{
"created_at": "2021-01-01 00:00:00.000",
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"name": "Trieve",
"partner_configuration": {
"COMPANY_NAME": "Trieve",
"DEMO_DOMAIN": "demos.trieve.ai",
"FAVICON_URL": "https://cdn.trieve.ai/favicon.ico"
},
"registerable": true,
"updated_at": "2021-01-01 00:00:00.000"
}
The organization id to use for the request
The organization data that you want to update
The body is of type object
.
Updated organization object
The response is of type object
.
Was this page helpful?