Experiences

Update user’s profile experience.

PUT update experience

Endpoint

PUT /api/v1/experiences/:id

Request

Route

PUT /api/v1/experiences/10

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzNDgiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MTMsImV4cCI6MTc0NTA1NjkxMywianRpIjoiZjQyMTAyNTUtMzk4NC00N2Q0LWFlYmItNWIyOGZkOGM3NmY0In0.XtB0DkQAIHBgdVzFoOVvIxEW4bD3hKr_YCOjhGZz-Ck
Host: example.org
Cookie: 

Body

{
  "experience": {
    "role": "Marketing Liaison",
    "company": "Huel-Smitham",
    "description": "Ut omnis debitis mollitia.",
    "start_date": "2023-05-13",
    "end_date": "2024-06-10"
  }
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"0b6b58bffc21dca4a507f17a2f3a825f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 284afb21-53f5-41db-9083-d6dfd64948c6
x-runtime: 0.007543
content-length: 169

Body

{
  "experience": {
    "id": 10,
    "company": "Huel-Smitham",
    "description": "Ut omnis debitis mollitia.",
    "end_date": "2024-06-10",
    "role": "Marketing Liaison",
    "start_date": "2023-05-13"
  }
}