hey,
I am trying to read all the existing deployments with the rest api, and getting 405 status code with body: {‘detail’: ’Method Not Allowed}
Copy code
curl --location --request POST '<https://api.prefect.cloud/api/accounts/><my_account_id>/workspaces/<my_workspace_id>/deployments/fliter' \
--header 'Authorization: Bearer <my_api_token>'
reading single deployments works as expected, and also all the other endpoints I have tried
*I have also tried to use the GET method
if anyone can help me it would be great, thanks!
✅ 1
j
Jake Kaplan
03/27/2024, 11:41 AM
Hi i think you may have a typo in your curl. “POST - …/deployments/filter”
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.