Skip to content
Navigation

Restore a deleted mind

Bring back a soft-deleted mind. Owner only — an admin grant does not carry, because undeleting is a decision about the owner's own namespace.

409 if a live mind has taken the slug in the meantime.

POST
https://truememory-api.mvstg.com/minds/{mind_id}/restore
View as Markdown

Authorization

  • HTTPBearerHTTPrequired

Path parameters

  • mind_idstringrequired
    format: uuid

Header parameters

  • X-On-Behalf-Ofoptional

    One of the following:

    • string
    • null
  • X-External-User-Idoptional

    One of the following:

    • string
    • null
  • X-App-Idoptional

    One of the following:

    • string
    • null

Returns

200

Successful Response

JSON
  • idstringrequired
  • owner_typeuserororgrequired
  • owner_idstringrequired
  • slugstringrequired
  • namestringrequired
  • created_atstringrequired
    format: date-time
  • updated_atstringrequired
    format: date-time
  • skill_idsarray ofstringrequired

    Ids of skills, for clients seeding a multi-select.

  • app_idoptional

    One of the following:

    • string
    • null
  • descriptionoptional

    One of the following:

    • string
    • null
  • emojioptional

    One of the following:

    • string
    • null
  • usage_hintoptional

    One of the following:

    • string
    • null
  • visibilityoptionalprivateorapporpublic
    default: "private"
  • banner_image_urloptional

    One of the following:

    • string
    • null
  • skillsoptionalarray ofobject
    • idstringrequired
    • keystringrequired
    • namestringrequired
  • brain_countoptionalinteger
    default: 0

422

Validation Error
JSON
  • detailoptionalarray ofobject
    • locarray ofrequired

      One of the following:

      • string
      • integer
    • msgstringrequired
    • typestringrequired
    • inputoptionalunknown
    • ctxoptionalobject

Type to search…

↑↓ navigate↵ selectEsc close