Skip to main content

CreateMock

Properties

NameTypeRequiredDescription
mockCreateMockMock

CreateMockMock

Properties

NameTypeRequiredDescription
collectionstringThe unique ID of the mock's associated collection.
environmentstringThe unique ID of the mock's associated environment.
namestringThe mock server's name.
privatebooleanIf true, the mock server is set private. By default, mock servers are public and can receive requests from anyone and anywhere.

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →