Visibility & Mentions

Update a view

Updates the supplied fields of a view. Setting isDefault to true clears the default flag on the brand's other views.

patch/api/v1/views/{viewId}

Request

  • Base URL
    https://app.promptingco.com
  • URL
    https://app.promptingco.com/api/v1/views/{viewId}
  • Auth
    • API key in header x-api-key
    • or HTTP bearer
    • or API key in cookie better-auth.session_token

Path parameters

viewIdstring required

Request body

namestring
descriptionstring nullable
isDefaultboolean

Response

Successful response

oktrue required
dataunknown

Changes

No recorded changes to this operation across all 1 revision of this API.