Examplary
  • Start for free
    Developer docs

    Update prompt

    PATCHhttps://api.examplary.ai/prompts/{id}

    Update an existing prompt in the current workspace.

    Path parameters

    idstringrequired

    Request body

    namestring· min length: 1· max length: 255
    promptTypestring· min length: 1· max length: 255
    contentstring

    Responses

    400 — Validation Error

    successbooleanrequired

    Allowed values:false

    errorarray any[]required
    dataanyrequired

    Requirements

    User roles

    This endpoint requires the teacher, admin, or owner role to be present.

    OAuth scopes

    This endpoint requires the prompts:write scope to be present.