The Universal Declaration of Human Rights can be cited as a document found on the web in APA. It is not classed as a treaty or a legally binding document (though it influences the development of legally binding treaties internationally).
The elements to note for the in-text and reference list elements are:
Author: United Nations
Publication date: 1948
Title: Universal declaration of human rights
Location: URL or pdf hyperlink (depending on the document format you have viewed)
See the Internet and Social Media page in our APA 7th guide linked below to review how webpages and pdfs are formatted.