Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting assignments using REST API #57

Open
RuthvikRaviKumar opened this issue Apr 28, 2021 · 2 comments
Open

Deleting assignments using REST API #57

RuthvikRaviKumar opened this issue Apr 28, 2021 · 2 comments

Comments

@RuthvikRaviKumar
Copy link

Followed https://docs.microsoft.com/en-us/rest/api/blueprints/assignments/delete to find a way to delete assignments using REST APIs. The issue is that, when I use the API to delete the non-existent assignments without using the deleteBehavior param, it throws 204 - No Content error, which is right. But the same API when used with deleteBehavior param for deleting a non-existent assignment, it returns 202 status code.

@alex-frankel
Copy link
Contributor

This does look like it could be a bug, but we are not likely to get this resolved unless it is causing a severe blocking issues. The Blueprints service is going to be taking a dependency on Template Specs and Deployment stacks to replace the blueprint definition and assignment respectively. Have you heard about either of those?

Out of curiosity, are you using the blueprint locks capability?

@RuthvikRaviKumar
Copy link
Author

Could you please tell if there is any documentation that I can go through to understand how to create blueprint service using Template Specs and Deployment Stacks?
I'm not using the blueprint locks capability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants