Docs Index
Doc
PUT /api/pads/:id
Modifies an existing pad. You can specify any of the valid parameters to create
.
You may also use this endpoint to end the interview, by setting the ended
attribute to true
, or delete the interview, by setting the deleted
attribute to true
. Values other than true
will be ignored.
curl \
-X PUT --data title="Interview with Greg" \
-H 'Authorization: Token token="<%= api_key %>"' \
https://app.coderpad.io/api/pads/AFQ2K9A3
Code language: JavaScript (javascript)
Please note that resetting contents
in the middle of an ongoing interview session will probably break something. It will also destroy the history for that pad. Use with caution.