Skip to main content
PATCH
Update goal

Authorizations

Authorization
string
header
required

Darwin API keys begin with darwin_ and are created in Developer settings.

Path Parameters

id
string
required

Body

application/json
title
string
Maximum string length: 160
intent
string
Maximum string length: 20000
mode
enum<string>

The workflow view for shared Darwin work resources.

Available options:
BUY,
SELL,
CHAT
type
enum<string>
deprecated

Deprecated compatibility representation. Use mode.

Available options:
DEMAND,
SUPPLY,
CHAT
lifecycleStatus
enum<string>
Available options:
DRAFT,
ACTIVE,
PAUSED,
COMPLETED,
ARCHIVED
visibility
enum<string>
Available options:
PUBLIC,
RESTRICTED,
PRIVATE
accessPolicyId
string | null
pausedUntil
string<date-time> | null
cadence
object
targeting
object
context
object

Response

The updated goal.

goal
object
required