---
title: "List Module Namespaces"
method: GET
path: "/module-namespaces"
tags: ["module-namespaces"]
---

# List Module Namespaces

`GET /module-namespaces`

This endpoint lists module namespaces by various filters.

To list module namespaces accessible from a certain environment, `filter[environment]` has to be
specified. Module namespaces from the account which this environment belongs to will be listed as well.

To list module namespaces accessible from a certain account, `filter[account]` has to be specified.

If no filters were specified, all module namespaces which the user has read access to will be
listed.

## Query parameters

- `page[number]` string
- `page[size]` string
- `filter[name]` string
- `filter[environment]` string
- `sort` string[]

## Response `200`

Success.

## Other responses

- `404` — Module namespaces not found, or user unauthorized to perform action.
- `4XX` — Client error.
- `5XX` — Server error.

---

[API](https://skmtc.net/scalr/apis/scalr-iacp-api.md) · [All operations](https://skmtc.net/scalr/apis/scalr-iacp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalr/scalr-iacp-api/revisions/fc927526ad12/schema)
