The code samples do not include authorization headers. Use authorization headers as instructed in the documentation.