This article is for developers with a full understanding of how to work with our API.
Important note about the API explorer:
When you follow the link we provide to the API explorer, you'll see a red warning.
The API itself is not deprecated. It's the Google API explorer that is deprecated. All the processes described in our API articles function correctly and safely if you use this Google API explorer.
Library administrators can configure individual libraries to hide a given document class from New menu when creating new documents. End users will not therefore be able to create documents in this document class. This can be useful, for example, if you use a specific document class with the Gmail add-on and you don't want users to be able to create documents with this document class. Learn more: Gmail add-on.
1. As a library administrator, follow one of these links to the AODocs API:
- US instance:
- EU instance:
Note: Dedicated instances have their own URLs. Learn more: What are AODocs instances?
2. Enter the ID of the library in which you want to hide a document class from the New menu.
Learn how to identify the library ID.
3. In the documentTypeId field, enter the ID of the document class you want to hide. Learn how to identify document class IDs.
4. Click in the Patch body field, then click the arrow in the top right corner and select Freeform editor.
5. Paste the following text into the Patch body field:
6. Click Authorize and execute. The response is displayed in the lower part of the screen.
Note: To restore the document class to the New menu, use the same process and enter the value
TRUE in the stringValue field. This is the default value.