Skip to main content
POST
/
api
/
v2
/
motion
/
update
Update a motion
curl --request POST \
  --url https://app.octavehq.com/api/v2/motion/update \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '
{
  "oId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "offeringId": "<string>",
  "data": {
    "overview": "",
    "additionalContext": "",
    "attachedSources": []
  }
}
'
{
  "_metadata": {
    "requestId": "requestId",
    "timestamp": "2021-01-01T00:00:00.000Z",
    "usage": 0,
    "message": "message"
  },
  "data": {
    "oId": "<string>",
    "name": "<string>",
    "offering": {
      "oId": "<string>",
      "name": "<string>",
      "description": "<string>"
    },
    "data": {
      "overview": "",
      "additionalContext": "",
      "attachedSources": []
    },
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "description": "<string>",
    "defaultPlaybookOId": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.octavehq.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

api_key
string
header
required

Body

application/json
oId
string
required

Motion oId to update

name
string

New name

description
string

New description

offeringId
string

New offering oId

motionType
enum<string>

New motion type

Available options:
NET_NEW,
UPSELL,
CROSS_SELL,
CONVERT_FREE_TO_PAID,
RENEW_AND_RETAIN,
DISPLACE_INCUMBENT
data
object

Updated motion data

Response

200 - application/json

Updated motion

_metadata
object
required
data
object
required