Trying to use REST API to create iterations for a project using POST as per this:
https://docs.microsoft.com/en-us/rest/api/azure/devops/work/iterations/post%20team%20it
To create new iteration, you have to use another urls. You can find them here: Classification Nodes - Create Or Update. Sample of Create iteration:
POST https://dev.azure.com/fabrikam/Fabrikam-Fiber-Git/_apis/wit/classificationnodes/Iterations?api-version=5.0
Request Body
JSON
{
"name": "Final Iteration",
"attributes": {"startDate": "2014-10-27T00:00:00Z",
"finishDate": "2014-10-31T00:00:00Z"
}
}
You don't see the new iteration because you added the iteration in Project configuration
only, the Rest API is related to "team settings".
You need also to add the iteration in Team configuration
(when you click on it you have tab "iterations", then click "Select iteration(s)" and select the new one).
If you want help about the creating iteration you must share here all the code you tried.