Add a template to ludus. The file must be a tar file with a single directory (the template name) inside. The filename is ignored, and the root directory name is used.
Request
Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
API Key
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
or
Body Params multipart/form-data
Responses
🟢201Created
application/json
template added
Body
🟠400Bad Request
🔴500Internal Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://mock.apidog.com/m1/1126461-0-default/templates' \
--header'X-API-KEY: <api-key>' \
--form'file=@""' \
--form'force="false"'