x-api-key: ********************
x-api-env: ********************
{
"name": "Lorenzo Zulauf",
"type": "cell",
"description": "Vulgivagus tempore defaeco decumbo adulescens. Valens tribuo claro verus porro somniculosus.",
"start_date": "2025-11-13",
"end_date": "2025-05-27",
"avatar": "https://avatars.githubusercontent.com/u/78745669",
"workdays": {
"1": 17,
"2": 1,
"3": 23,
"4": 23,
"5": 17,
"6": 6,
"7": 6
},
"integration_schedule": false,
"color_hex": "#a8a",
"boards": [
{
"id": "5edec42b-cdae-4ee9-a2ac-fc979c9b5090",
"stages": [
{
"id": "12df4395-7501-4865-9be6-abe2dac6edbf",
"percentage": 642,
"active": true
},
{
"id": "12df4395-7501-4865-9be6-abe2dac6edbf",
"percentage": 642,
"active": true
},
{
"id": "12df4395-7501-4865-9be6-abe2dac6edbf",
"percentage": 642,
"active": true
}
],
"active": true
},
{
"id": "5edec42b-cdae-4ee9-a2ac-fc979c9b5090",
"stages": [
{
"id": "12df4395-7501-4865-9be6-abe2dac6edbf",
"percentage": 642,
"active": true
},
{
"id": "12df4395-7501-4865-9be6-abe2dac6edbf",
"percentage": 642,
"active": true
},
{
"id": "12df4395-7501-4865-9be6-abe2dac6edbf",
"percentage": 642,
"active": true
}
],
"active": true
}
]
}
curl --location --request PUT 'https://api.vplan.com/v1/resource/' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--header 'x-api-env;' \
--data-raw '{
"name": "Lorenzo Zulauf",
"type": "cell",
"description": "Vulgivagus tempore defaeco decumbo adulescens. Valens tribuo claro verus porro somniculosus.",
"start_date": "2025-11-13",
"end_date": "2025-05-27",
"avatar": "https://avatars.githubusercontent.com/u/78745669",
"workdays": {
"1": 17,
"2": 1,
"3": 23,
"4": 23,
"5": 17,
"6": 6,
"7": 6
},
"integration_schedule": false,
"color_hex": "#a8a",
"boards": [
{
"id": "5edec42b-cdae-4ee9-a2ac-fc979c9b5090",
"stages": [
{
"id": "12df4395-7501-4865-9be6-abe2dac6edbf",
"percentage": 642,
"active": true
},
{
"id": "12df4395-7501-4865-9be6-abe2dac6edbf",
"percentage": 642,
"active": true
},
{
"id": "12df4395-7501-4865-9be6-abe2dac6edbf",
"percentage": 642,
"active": true
}
],
"active": true
},
{
"id": "5edec42b-cdae-4ee9-a2ac-fc979c9b5090",
"stages": [
{
"id": "12df4395-7501-4865-9be6-abe2dac6edbf",
"percentage": 642,
"active": true
},
{
"id": "12df4395-7501-4865-9be6-abe2dac6edbf",
"percentage": 642,
"active": true
},
{
"id": "12df4395-7501-4865-9be6-abe2dac6edbf",
"percentage": 642,
"active": true
}
],
"active": true
}
]
}'