PATCH
Edit an approved line

Authorizations

x-api-key
string
header
required

The API key to authenticate requests.

Path Parameters

id
string
required
Minimum string length: 1

Body

application/json
text
string
Required string length: 1 - 280
theme
string | null

What the line is about; empty clears it.

Maximum string length: 40
avoidWhen
string | null

When not to use the line; empty clears it.

Maximum string length: 200
clientId
string | null

The client whose data this is, for an operator applying on behalf of clients. Omit for your own.

Minimum string length: 1

Response

200 - application/json

The updated line.

id
string
required
text
string
required
theme
string | null
required
avoidWhen
string | null
required
status
enum<string>
required
Available options:
suggested,
vetted
source
enum<string>
required
Available options:
manual,
tailoring,
agent
sourceApplicationId
string | null
required
vettedAt
string<date-time> | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required