Skip to main content
PATCH
Edit a medium's details

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a member session JWT, a portal JWT whose login is linked to a membership in that company, or an opaque member token. The credential alone identifies the member and company.

Path Parameters

id
string<uuid>
required

Public id of a medium the signed-in member owns.

Body

application/json

Fields to change.

title
string

Title.

Required string length: 1 - 255
Pattern: \S
description
string | null

Plain-text description.

Maximum string length: 5000
tags
string[]

Names of existing admin-created company medium tags, matched exactly; replaces the current set. Each name attaches at most one tag and repeated names collapse. A name that matches no such tag, including a tag the system generated, is refused with 422 and nothing is changed.

Maximum string length: 255

Response

The updated medium.

One medium.

status
integer
required

HTTP response status.

data
object
required

A medium the signed-in member uploaded.

meta
object
required

Envelope metadata present on every response.