Skip to main content
PUT
Change who the member's widget recipe is shown to

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, an opaque member token, or a verified One Auth identity access token. The credential alone identifies the member and company. Member session JWTs, and portal JWTs the server minted read-only, are refused with 403 on every write.

Path Parameters

id
string
required

The recipe's id.

Body

application/json

Who a recipe is shown to. Official is never a visibility; it comes from a company admin.

kind
string
required

people or company; any other kind is refused with 422 visibility_not_allowed.

audiences
object[]

The audiences of a people recipe, at most 50. The same audience named twice is kept once.

Response

The recipe.

One recipe, as its author sees it.

status
integer
required

HTTP status code (mirrors the response status line).

data
object
required

The recipe as the reader sees it.

meta
object

Envelope metadata present on every response.