Assign a placement group

Add a Linode to your placement group. Check out our example API workflow to create a placement group and add Linodes.

📘

Your user needs the add_linodes grant and read-write permission to the Linodes you want to add to the group. Talk to your local account administrator about grant and permissions management.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: linodes:read_write

CLI

linode-cli placement assign-linode 528 \
  --linodes 123 456 \
  --non-compliant true

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

ID of the placement group to look up. Run the List placement groups operation and store the id for the applicable placement group.

Body Params

The Linodes included in a placement group.

linodes
array of integers

The linodeId values for individual Linodes included in the placement group.

linodes
Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json