Update a llm Licence for a project
PUT/projects/ {projectId}/ llm-licences/ {licenceId}/ 
v2
PUT
project-update-llm-licence-experimental
Request
Responses
Usage examples
- cURL
 - JavaScript SDK
 - PHP SDK
 
$ curl \
    --fail \
    --location \
    -X PUT \
    -d '{"createWebuiContainer":true,"name":"string"}' \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    -H 'Content-Type: application/json' \
    https://api.mittwald.de/v2/projects/string/llm-licences/string
import { MittwaldAPIV2Client } from "@mittwald/api-client";
import { assertStatus } from "@mittwald/api-client-commons";
  
const client = MittwaldAPIClient.newWithToken(process.env.MITTWALD_API_TOKEN);
const response = await client.project.updateLlmLicenceExperimental({
  "projectId": "string",
  "licenceId": "string",
  "data": {
    "createWebuiContainer": true,
    "name": "string"
  }
});
assertStatus(response, 200);
  
use \Mittwald\ApiClient\Generated\V2\Clients\Project\UpdateLlmLicenceExperimental\UpdateLlmLicenceExperimentalRequest;
use \Mittwald\ApiClient\Generated\V2\Clients\Project\UpdateLlmLicenceExperimental\UpdateLlmLicenceExperimentalRequestBody;
  
$client = MittwaldAPIClient::newWithToken(getenv('MITTWALD_API_TOKEN'));
// TODO: Please consult the properties and constructor signature of
// UpdateLlmLicenceExperimentalRequestBody to learn how to construct a valid instance
$body = new UpdateLlmLicenceExperimentalRequestBody(/* TODO: ... */);
$request = (new UpdateLlmLicenceExperimentalRequest(
  projectId: "string",
  licenceId: "string",
  body: $body
));
$response = $client->project()->updateLlmLicenceExperimental($request);
var_dump($response->getBody();