Set Primary Image
POST/api/persons/setprimaryimage/:id/:mediaId
Tier: Public — stable, supported for third-party integration.
Sets an already-uploaded media item as a person's primary image.
Request
Responses
- 200
- 400
- 401
- 403
The person, with the primary image updated. See Persons.PersonDetailDto.
Unknown person or media id — InvalidReference.
Caller is not authenticated.
Caller does not have Update permission on the Person module.