GET
/v2/projects/{projectId}/namespace-by-name/{name}Get a namespace by name
Retrieves a namespace in a project by its name. Supply name and projectId to identify the namespace and the project it belongs to.
namestringrequired
The name of the namespace to retrieve.
projectIdintegerrequired
The integer identifier of the project containing the namespace.
200Returns the namespace's integer `id` and `name`.
idintegerrequired
The id of namespace
namestringrequired
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is not authenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have permission to access the namespace.
codestringrequired
paramsarray<object>optional
404Returned when the namespace or project is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned for an invalid request; a 401 is returned when authentication is missing or invalid; a 403 is returned when the authenticated user lacks permission; and a 404 is returned when the namespace or project is not found. The name path parameter must identify the namespace in the project specified by the projectId path parameter.