Why am I getting "status code 401" attempting patch app_metadata?

Glad you have figured it out and thanks for sharing with the rest of community!