Actions144
- Activity Log Actions
- API Info Actions
- Article Actions
- Asset Actions
- Asset Layout Actions
- Asset Layout Field Actions
- Asset Password Actions
- Card Actions
- Company Actions
- Expiration Actions
- Export Actions
- Folder Actions
- Group Actions
- IP Address Actions
- List Actions
- List Options Actions
- Magic Dash Actions
- Matcher Actions
- Network Actions
- Password Folder Actions
- Photo Actions
- Procedure Actions
- Procedure Task Actions
- Public Photo Actions
- Rack Storage Actions
- Rack Storage Item Actions
- Relation Actions
- S3 Export Actions
- Upload Actions
- User Actions
- VLAN Actions
- VLAN Zone Actions
- Website Actions
Public Photo → Update
AI-generatedOverview
This node operation updates a public photo record in the Hudu system. It is useful for scenarios where you need to change the association of a public photo to a different record type or record ID, such as linking a photo to a different article or entity within Hudu. For example, if a photo was initially linked to one article but needs to be reassigned to another, this operation facilitates that update.
Use Case Examples
- Updating the record type and record ID of a public photo to associate it with a different article or entity.
- Changing the linkage of a public photo from one record to another within the Hudu platform.
Properties
| Name | Meaning |
|---|---|
| Photo ID | Numeric ID of the photo to update. Use the numeric_id (integer) field from a prior Get Many result, NOT the slug string id field — the API returns 404 for slug values. |
| Record Type | The updated type of record the photo is associated with (e.g., Article). |
| Record ID | The ID of the record the photo will be associated with. |
Output
JSON
id- The unique identifier of the updated public photo.record_type- The updated type of record the photo is associated with.record_id- The updated ID of the record the photo is associated with.
Dependencies
- Requires an API key credential for authenticating with the Hudu REST API.
Troubleshooting
- Ensure the Photo ID is the numeric ID, not the slug string ID, as using the slug will result in a 404 error from the API.
- Verify that the Record Type and Record ID are valid and exist in the Hudu system to avoid update failures.
- Check API authentication credentials if requests fail due to authorization errors.