PUT Set resources on a project
This will set the resources, any existing resource will be removed and replaced by the once defined in the body. The sequence of the resources will be reflected when using the roundrobin_prioritized mode.
Updates the resources connected to a project.
Endpoint
PUT https://api.timekit.io/v2/projects/{id}/resources
Request examples
curlcurl --request PUT \
--url https://api.timekit.io/v2/projects/<id>/resources \
--header 'Content-Type: application/json' \
--user :test_api_key_nvHfRSlhvsnlg4rS7Wt28Ty47qdgegwSu3YK7hPW \
--data '[
"<id>",
"<id>",
"<id>"
]'
The request body is a JSON array of resource IDs (the array itself, not an object wrapping it). A successful request returns 204 No Content with an empty body.