Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string
required

Unique key that makes the request idempotent (1-255 characters: letters, numbers, _, and -). Retrying with the same key within 24 hours replays the original response (marked with an Idempotent-Replayed: true header) instead of repeating the action. Reusing a key with a different request returns a 422; sending a key while the original request is still being processed returns a 409.

Required string length: 1 - 255
Pattern: ^[A-Za-z0-9_-]+$

Body

application/json

CloudFS filesystem creation request

name
string
required

Filesystem name, unique within your organization. Names are trimmed and lowercased; after normalization they may contain lowercase letters, numbers, ., _, and - only.

Required string length: 1 - 63
Pattern: ^[a-z0-9._-]+$
Example:

"agent-fs"

region
enum<string>
required

Region where the filesystem's storage and metadata are provisioned.

Available options:
us-central-1,
us-east-1,
us-west-1
Example:

"us-east-1"

Response

CloudFS filesystem created successfully. This is the only response (besides rotate-meta-token) that includes meta_token.

data
object

A CloudFS filesystem, including its metadata credential. This shape is returned only by create and rotate-meta-token.