Post subdomain
@@ -395,7 +395,7 @@ public class DefaultZmsClient extends ClientBase implements ZmsClient {
public void createSubdomain(AthenzDomain parent, String name) {
URI uri = zmsUrl.resolve(String.format("subdomain/%s", parent.getName()));
StringEntity entity = toJsonStringEntity(Map.of("name", name));
- var request = RequestBuilder.put(uri)
+ var request = RequestBuilder.post(uri)
.setEntity(entity)
.build();
execute(request, response -> readEntity(response, Void.class));
