Skip to main content
POST
/
radius
/
account-containers
Create Container
curl --request POST \
  --url https://api.altostrat.io/radius/account-containers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "parent_id": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "parent_id": "<string>",
  "path": "<string>",
  "level": 123,
  "user_count": 123,
  "container_count": 123,
  "is_pinned": true,
  "metadata": {},
  "tags": [
    "<string>"
  ],
  "breadcrumbs": [
    {
      "id": "<string>",
      "name": "<string>",
      "level": 123
    }
  ],
  "created_at": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
description
string
parent_id
string

Response

201 - application/json

Container created.

id
string
name
string
description
string
parent_id
string | null
path
string
level
integer
user_count
integer
container_count
integer
is_pinned
boolean
metadata
object
tags
string[]
breadcrumbs
object[]
created_at
string
updated_at
string