♻️ use put and return 200 OK

This commit is contained in:
Fred KISSIE
2026-03-03 03:31:43 +01:00
parent 0a69131c38
commit 89e7107a47
5 changed files with 12 additions and 12 deletions

View File

@@ -632,7 +632,7 @@ authenticated.put(
policy.setResourcePolicyAccessControl
);
authenticated.post(
authenticated.put(
"/resource-policy/:resourcePolicyId/password",
verifyApiKeyResourcePolicyAccess,
verifyLimits,
@@ -641,7 +641,7 @@ authenticated.post(
policy.setResourcePolicyPassword
);
authenticated.post(
authenticated.put(
"/resource-policy/:resourcePolicyId/pincode",
verifyApiKeyResourcePolicyAccess,
verifyLimits,
@@ -650,7 +650,7 @@ authenticated.post(
policy.setResourcePolicyPincode
);
authenticated.post(
authenticated.put(
"/resource-policy/:resourcePolicyId/header-auth",
verifyApiKeyResourcePolicyAccess,
verifyLimits,