Update a Project's storage space notification threshold
PUT/projects/ {projectId}/ storage-space-notification-threshold/ 
v2
PUT
storagespace-replace-project-notification-threshold
Request
Responses
Usage examples
- cURL
 - JavaScript SDK
 - PHP SDK
 
$ curl \
    --fail \
    --location \
    -X PUT \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    https://api.mittwald.de/v2/projects/string/storage-space-notification-threshold
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.storagespaceReplaceProjectNotificationThreshold({
  "projectId": "string"
});
assertStatus(response, 204);
  
use \Mittwald\ApiClient\Generated\V2\Clients\Project\StoragespaceReplaceProjectNotificationThreshold\StoragespaceReplaceProjectNotificationThresholdRequest;
use \Mittwald\ApiClient\Generated\V2\Clients\Project\StoragespaceReplaceProjectNotificationThreshold\StoragespaceReplaceProjectNotificationThresholdRequestBody;
  
$client = MittwaldAPIClient::newWithToken(getenv('MITTWALD_API_TOKEN'));
// TODO: Please consult the properties and constructor signature of
// StoragespaceReplaceProjectNotificationThresholdRequestBody to learn how to construct a valid instance
$body = new StoragespaceReplaceProjectNotificationThresholdRequestBody(/* TODO: ... */);
$request = (new StoragespaceReplaceProjectNotificationThresholdRequest(
  projectId: "string",
  body: $body
));
$response = $client->project()->storagespaceReplaceProjectNotificationThreshold($request);
var_dump($response->getBody();