--- title: "NMC API Code Samples and Scripting Reference" slug: "nmc-api-code-samples-and-scripting-reference" tags: ["Nasuni Management Console", "NMC API"] updated: 2025-01-02T16:13:49Z published: 2025-01-02T16:13:49Z canonical: "docs.nasuni.com/nmc-api-code-samples-and-scripting-reference" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.nasuni.com/llms.txt > Use this file to discover all available pages before exploring further. # NMC API Code Samples and Scripting Reference ## Overview The Nasuni Management Console (NMC) API is a REST-based API to monitor and configure the Nasuni resources managed by your Nasuni Management Console in a simple programmatic way using conventional HTTP requests. ***Note****: For details about the NMC API, and sample PowerShell scripts, see* [*https://github.com/nasuni-labs/nasuni-nmcapi-powershell-utilities*](https://github.com/nasuni-labs/nasuni-nmcapi-powershell-utilities)*. For the NMC API itself, see* [*Nasuni Management Console API*](https://docs.api.nasuni.com/)*.* ***Note****: You can enable and disable Global File Lock using the NMC API. For details, see* [*Nasuni Labs*](https://github.com/nasuni-labs)*.*