diff --git a/byteguide/static/favicon.ico b/byteguide/static/favicon.ico index e005cd7..a26aed5 100644 Binary files a/byteguide/static/favicon.ico and b/byteguide/static/favicon.ico differ diff --git a/byteguide/templates/faq.html b/byteguide/templates/faq.html index d4c011f..cef7aa2 100644 --- a/byteguide/templates/faq.html +++ b/byteguide/templates/faq.html @@ -117,7 +117,8 @@
# Install Azure CLI to get access token, https://learn.microsoft.com/en-us/cli/azure/install-azure-cli
$ ACCESS_TOKEN=$(az account get-access-token --scope a325c352-74f8-48eb-9ca2-3e92712b0fb4/user_impersonation --query accessToken -o tsv)
- $ curl -X POST -F project=your-project -F version=your-version -H "Authorization: Bearer $ACCESS_TOKEN" https://docshost.dev.ctek.com/manage/delete
+ $ curl -X POST -F project=your-project -F version=your-version -F unique-key=your-unique-key -H "Authorization: Bearer $ACCESS_TOKEN" https://docshost.dev.ctek.com/manage/delete
+ 📢Note: You can also delete ALL versions of a project by passing "version=all" to the above curl command.
+ # Install Azure CLI to get access token, https://learn.microsoft.com/en-us/cli/azure/install-azure-cli + $ ACCESS_TOKEN=$(az account get-access-token --scope a325c352-74f8-48eb-9ca2-3e92712b0fb4/user_impersonation --query accessToken -o tsv) + $ curl -X POST -F project=your-project -F unique-key=your-unique-key -H "Authorization: Bearer $ACCESS_TOKEN" https://docshost.dev.ctek.com/manage/delete ++ 📢Note: You can only delete a project if there are no versions left for that project, use "version=all" from above for a swift kill. +
+ # Install Azure CLI to get access token, https://learn.microsoft.com/en-us/cli/azure/install-azure-cli + $ ACCESS_TOKEN=$(az account get-access-token --scope a325c352-74f8-48eb-9ca2-3e92712b0fb4/user_impersonation --query accessToken -o tsv) + $ curl -H "Authorization: Bearer $ACCESS_TOKEN" https://docshost.dev.ctek.com/browse/metadata/your-project + +
-
- Reason:
- This is not yet implemented.
-
-
- Workaround:
- If you really need to delete a whole project, please contact the site admin which have access to the hosting server.
-
- Note: Version deletion is possible through curl.
-