The command that you are trying is for creating repository. As @dadoonet said, remove ?wait_for_completion=true and also remove "indices": "index_1". You specify indices when actually doing the snapshot not while creating repository.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.