Skip to main content
PUT
Edit Agent
This endpoint uses multipart/form-data, not JSON. Use the cURL or Python example below. The Agent is identified by the personality_id form field, and matching_capabilities is repeated once per Ability rather than sent as an array.

Endpoint

Send the request as multipart/form-data.

Headers

string
required
Your OpenHome API key.

Form fields

integer
required
The ID of the Agent to edit. Get it from List Agents.
integer
An Ability (capability) ID to assign to the Agent. Repeat the field once per Ability. The list replaces the Agent’s current Abilities, so send every ID the Agent should end up with. Omit the field to unassign all.

Example request

cURL
Python