Skip to main content
POST
Approve a Draft Mutation

Authorizations

Authorization
string
header
required

A Turtle API key (sk_...) as a bearer token.

Path Parameters

organizationId
string<uuid>
required
Example:

"248df4b7-aa70-47b8-a036-33ac447e668d"

mutationId
string<uuid>
required
Example:

"248df4b7-aa70-47b8-a036-33ac447e668d"

Body

application/json
always
boolean

Also allow this entity/op from now on, unattended.

amend
object

Your own value for some of the fields the draft changes, keyed as its changes are (stage, fields.size). A contact's addresses are the whole set you want. Set one back to its current value to approve the rest without it. Only on an update or a create, and not with always.

reason
string

Why you approved it, or amended it. Sonar reads it.

Maximum string length: 2000
Pattern: ^(?:[^<\p{C}]|[\t\n\r‍]|<+(?:[^<A-Za-z/!?\p{C}]|[\t\n\r‍]|$))*$

Response

OK

mutation
object