Create a new namespace
Create a new namespace owned by the authenticated user or an organization. This endpoint is idempotent - if the namespace already exists and is owned by the user/org, returns success. Pass organizationId in the request body to create an org-owned namespace.
Path parameters
Response
Namespace created successfully
Example response
{
"name": "myorg",
"createdAt": "2024-01-01T00:00:00.000Z"
}Changes
Changed in 1 of the 47 revisions of this API.21
- ▲
for the
pathrequest parametername, the maxLength was decreased from64to39request-parameter-max-length-decreased
- ▲
for the
pathrequest parametername, the minLength was increased from2to3request-parameter-min-length-increased
- ○
removed the pattern
^[a-z0-9][a-z0-9-]*[a-z0-9]$from thepathrequest parameternamerequest-parameter-pattern-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲