POST
Vet or unvet 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
status
enum<string>
required
Available options:
suggested,
vetted
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 line with its new status.

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