Skip to content

roadmap

Edit a roadmap initiative

PATCH/v1/roadmap-initiatives/{initiativeId}

Changes the fields it is given on one initiative: title, rationale, horizon, owner, one-time cost, monthly cost, evidence or links. Fields left out stay as they are, null removes an owner, a cost or a link, and evidence is replaced as a whole list. Linked records and the owner must belong to this workspace, and the linked records to the initiative's client. An initiative on a replaced roadmap answers conflict. An initiative outside the caller's workspace answers not_found. Use roadmap.initiative_decide to accept, decline or defer an initiative. When an agent calls this, the call is held for a person's approval.

Parameters

NameInRequiredTypeDescription
initiativeIdpathYesstring—
Idempotency-KeyheaderYesstringOpaque idempotency key, at most 255 characters, scoped to (tenant, principal, operation). A missing key is validation_failed.

Request body

  • title: string
  • rationale: string
  • horizon: string — How far ahead the initiative lands: 1m one month, 1q one quarter, 1y one year, 2y two years, 3y three years, 5y five years.
  • ownerId: object — The new owner, or null to remove the owner.
  • oneTimeCost: object — The new one-time cost, or null to remove it.
  • monthlyCost: object — The new monthly cost, or null to remove it.
  • evidence: array — The complete evidence list; it replaces the existing one.
  • links: object — Links to change. A link left out stays as it is, and null removes it.

Responses and errors

  • 200

    Edit a roadmap initiative

    • initiative (required): object
  • 202

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ApprovalRequiredError:
    • allOf: ErrorEnvelope
  • 400

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ValidationFailedError:
    • allOf: ErrorEnvelope
  • 401

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • UnauthorizedError:
    • allOf: ErrorEnvelope
  • 403

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ForbiddenError:
    • allOf: ErrorEnvelope
  • 404

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • NotFoundError:
    • allOf: ErrorEnvelope
  • 409

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ConflictError:
    • allOf: ErrorEnvelope
  • 429

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • RateLimitedError:
    • allOf: ErrorEnvelope
  • 503

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • UnavailableError:
    • allOf: ErrorEnvelope

Example

curl --request PATCH \
  --url 'https://api.scopable.io/v1/roadmap-initiatives/{initiativeId}' \
  --header 'Authorization: Bearer $SCOPABLE_API_KEY' \
  --data '<JSON request body>'

Replace $SCOPABLE_API_KEY with a key created in Settings, API; replace the request body placeholder with JSON matching the schema above.

View the OpenAPI 3.1 source

Need help with the API? …