Contents
On this page

Update Person - Plugixa Stream

PUT /plugixa-stream/v1/admin/people/{id}

Change a person. Fields you leave out keep their value.

Needs a user with the plugixa_stream_edit capability (signed in with an Application Password or the login cookie). Administrators hold it; other roles only when you grant it.

Request

PUT https://your-site.example/wp-json/plugixa-stream/v1/admin/people/214

Path parameters

Name Type Description
id integer The person’s id

Request body

Content type: application/json

Field Type Required Description
name string No Must not be blank. A name already used gets a different slug, not an error.
bio string No Plain text, up to 5,000 characters.
photo_id integer No A Media Library image; 0 or a non-image removes the photo.
{
  "bio": "American actor, Olympic gold medallist in swimming in 1932."
}

Responses

200 OK.

{
  "success": true,
  "data": {
    "id": 214,
    "name": "Buster Crabbe",
    "bio": "American actor, Olympic gold medallist in swimming in 1932.",
    "photo": "https://your-site.example/wp-content/uploads/2026/10/buster-crabbe-150x150.jpg",
    "photo_id": 3012,
    "titles": 1,
    "tmdb": 89547
  }
}
Field Type Meaning
data.id integer The person’s id
data.name string Raw name
data.bio string Plain text
data.photo string Photo URL, thumbnail size, or empty
data.photo_id integer Media Library id, 0 for none
data.titles integer Titles they are credited on
data.tmdb integer TMDB person id when imported, else 0

Errors

Status Code When
401 / 403 plugixa_stream_forbidden The caller lacks the capability.
404 plugixa_stream_not_found No person with that id.
422 plugixa_stream_invalid name is blank.

Plus the errors every endpoint can return.

Examples

curl -s -X PUT "https://your-site.example/wp-json/plugixa-stream/v1/admin/people/214" \
  -u "$WP_USER:$WP_APP_PASSWORD" \
  -H "Content-Type: application/json" \
  -d '{"bio":"American actor, Olympic gold medallist in swimming in 1932."}'
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-stream/v1/admin/people/214');
curl_setopt_array($ch, [
    CURLOPT_CUSTOMREQUEST  => 'PUT',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERPWD        => getenv('WP_USER') . ':' . getenv('WP_APP_PASSWORD'),
    CURLOPT_HTTPHEADER     => ['Content-Type: application/json'],
    CURLOPT_POSTFIELDS     => json_encode([
        'bio' => 'American actor, Olympic gold medallist in swimming in 1932.',
    ]),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const response = await fetch('https://your-site.example/wp-json/plugixa-stream/v1/admin/people/214', {
  method: 'PUT',
  headers: {
    'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ bio: 'American actor, Olympic gold medallist in swimming in 1932.' }),
});
const { data } = await response.json();

Quick Links

Share