Skip to main content
POST
/
v1
/
reallocate
TypeScript
import { Metadata, ReallocatePrototype, SaladCloudImdsSdk } from '@saladtechnologies-oss/salad-cloud-imds-sdk';

(async () => {
  const saladCloudImdsSdk = new SaladCloudImdsSdk({});

  const metadata = Metadata.TRUE_;

  const reallocatePrototype: ReallocatePrototype = {
    reason: 'Insufficient VRAM',
  };

  const { data } = await saladCloudImdsSdk.metadata.reallocate(reallocatePrototype, {
    metadata: metadata,
  });

  console.log(data);
})();
{
  "code": "<string>",
  "detail": "<string>",
  "errors": {},
  "instance": "<string>",
  "status": 349,
  "title": "<string>",
  "type": "about:blank"
}

Documentation Index

Fetch the complete documentation index at: https://docs.salad.com/llms.txt

Use this file to discover all available pages before exploring further.

Last Updated: May 10, 2025

Headers

Metadata
string
required

A custom request header required by all operations.

Allowed value: "true"

Body

application/json

Represents a request to reallocate the current container instance to another SaladCloud node.

reason
string
required

The reason for reallocating the current container instance. This value is reported to SaladCloud support for quality assurance purposes of SaladCloud nodes.

Required string length: 1 - 1000
Example:

"Insufficient VRAM"

Response

No Content