Skip to main content
PATCH
/
api
/
v1
/
appuid
/
{appUid}
/
labels
/
externalId
/
{externalId}
Update a label by externalId
curl --request PATCH \
  --url https://a.api.mindset.ai/api/v1/appuid/{appUid}/labels/externalId/{externalId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "showInDiscovery": true
}'
{
  "uid": "<string>",
  "name": "<string>",
  "externalId": "<string>",
  "showInDiscovery": true,
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Path Parameters

appUid
string
required

Your application's uid

Minimum length: 1
externalId
string
required

External ID of the label

Body

application/json
name
string

Name of the label

showInDiscovery
boolean

Is this label visible to end users?

Response

Successful update

uid
string

Unique ID of the label

name
string
externalId
string

Optionally id of external store where content has been ingested from

showInDiscovery
boolean

Is this label visible to end users?

createdAt
string<date-time>

Creation timestamp (ISO 8601)

I