Teams

Update or archive a team memory

Changes a memory's title, body, category, or pin. Send archived: true to retire a wrong or stale memory, and archived: false to restore it; a restore meets the same title and 200-memory checks as a new save. A memory's Space cannot change.

patch/v1/teams/{teamId}/memories/{memoryId}

Request

  • Base URL: https://api.spacefast.com
  • URL: https://api.spacefast.com/v1/teams/{teamId}/memories/{memoryId}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.spacefast.com/v1/auth/oauth2/authorize, token URL https://api.spacefast.com/v1/auth/oauth2/token; client credentials, token URL https://api.spacefast.com/v1/auth/oauth2/token, scopes: spaces:write)

Path parameters

teamIdstring required
memoryIdstring required

Request body

titlestring

Short title. Unique among the team's active memories in the same scope, ignoring case.

bodystring

One fact, decision, or preference in one to three sentences, with the reason.

category'brand' | 'voice' | 'audience' | 'design' | 'decision' | 'convention' | 'preference' | 'fact'

What kind of knowledge the memory holds.

pinnedboolean
archivedboolean

true archives a wrong or stale memory. false restores it.

Response

Response for status 200

$schemastring uri

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

Changes

No recorded changes to this operation across all 1 revision of this API.