Skip to content

PutTree

PUT
/trees

Creates a new tree.

Authorizations

Request Body required

object
treeId
required

Tree unique ID.

string
/^[A-Za-z0-9-]+$/
treeName
required

Tree name.

string
isDynamic

Is a dynamic tree?

boolean

Responses

200

PutTree 200 response

object
success

Tree creation was successful.

boolean

400

ValidationException 400 response

A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

object
message
required

A summary of the validation failure.

string
fieldList

A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.

Array<object>

Describes one specific validation failure for an input member.

object
path
required

A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.

string
message
required

A detailed description of the validation failure.

string

401

UnauthorizedError 401 response

object
message
required
string

403

ForbiddenError 403 response

object
message
required
string

409

ConflictError 409 response

object
message
required
string

500

InternalServerError 500 response

object
message
required
string

503

ServiceUnavailableError 503 response

object
message
required
string