Skip to main content

.create()

architect.<resource-name>.create(resourceData);

Returns a ArchitectResource which represents your created resource.

Parameters#

This method takes 1 parameter:

ParameterRequiredTypeDefault valueDescription
resourceDatatrueRecord<string, any>Data representing the resource you want to create

Response#

Successful response returns a HTTP 200 OK status and the following body:

TypeDescription
ArchitectResourceCreated resource