cURL
curl --request PATCH \ --url https://api.example.com/codes/{version_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "parent_id": "<string>" } '
{ "success": true }
update the parent of a code version. Requires that the parent code version exists in the same project.
API key in Bearer token format
Successful Response