Skip to content
Stepwik

Labs

Update lab

Update a codelab with partial JSON fields. Owner or co-author only. Does not publish.

PUT/v1/eapi/labs/:slugTry it

Authorizations

stepwik-api-keystringheaderrequired

API key secret. Requires scope `labs:write`. Create keys in Studio → Developer → API Keys.

Burst limit: 60 / 15 min per key · Scope: labs:write

Path parameters

slugstringpathrequired

Codelab slug to update.

Body

bodyobjectbodyrequired

JSON fields to change (partial updates supported).

Request

curl -X PUT "https://api.stepwik.com/v1/eapi/labs/my-codelab-slug" \
  -H "stepwik-api-key: stepwik_<id>_<secret>" \
  -H "Content-Type: application/json" \
  -d '{"title":"Getting Started with Redis (Updated)"}'

Response

200 · application/json

slugstring

Updated lab slug

titlestring

Updated title

200

{
  "slug": "my-codelab-slug",
  "title": "Getting Started with Redis (Updated)"
}