Update Interview

Update Interview API

Update Interview

patch

Update an interview.

Authorizations
Path parameters
idstringRequired

Interview ID of the interview to be updated

Body
interviewNamestringOptionalExample: Testing
roleNamestringOptionalExample: Software Engineer
minExperienceintegerOptionalExample: 3
maxExperienceintegerOptionalExample: 5
metaDataobjectOptional
publishedbooleanOptionalExample: false
Responses
200

Interview updated successfully

application/json
Responseall of
patch
PATCH /api/v1/interview/{id}/update-interview HTTP/1.1
Host: interview-api.zeko.ai
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 261

{
  "interviewName": "Testing",
  "roleName": "Software Engineer",
  "minExperience": 3,
  "maxExperience": 5,
  "metaData": {},
  "competencyData": [
    {
      "name": "text",
      "explanation": "text",
      "questionCount": 1,
      "time": 1,
      "difficulty": "easy",
      "questionType": "scenario_based"
    }
  ],
  "published": false
}
{
  "message": "Interview updated successfully",
  "success": true,
  "data": {
    "interviewId": "text",
    "roleName": "text",
    "slug": "text",
    "isPublished": true,
    "metaData": {},
    "competencyData": [
      {
        "competency": "text",
        "explanation": "text",
        "questionCount": 1,
        "time": 1,
        "difficulty": "text",
        "questionType": "text",
        "category": "text",
        "sampleQuestions": [
          "text"
        ]
      }
    ]
  }
}

Last updated