Project

General

Profile

Actions

Feature #6325

open

Capability to assign locations to entities via the API directly

Added by Morgan A almost 10 years ago. Updated almost 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Currently this is available with hosts, but with everything else you have to go to the locations endpoint to do this.

Actions #1

Updated by Dominic Cleal almost 10 years ago

I think this is just an API documentation issue - but you should be able to set either location_ids or location_names on resources that support location assignments. Note that these attributes are plural, while a host is singular (one-to-many versus one-to-one with locations).

Actions

Also available in: Atom PDF