Creates a private template in the specified compartment.

POST {{baseUrl}}/templates

Creates a private template in the specified compartment.

Request Body

{"compartmentId"=>"{{compartment_ocid}}", "description"=>"sint adipisi", "displayName"=>"mollit fugiat Lorem tempor ea", "templateConfigSource"=>{"templateConfigSourceType"=>"enim"}, "logoFileBase64Encoded"=>"nisi qui", "longDescription"=>"fugiat est occaecat"}

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a
particular request, please provide the request ID.
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of retrying the same action. Retry tokens expire after
24 hours, but can be invalidated before then due to conflicting operations. For example,
if a resource has been deleted and purged from the system, then a retry of the original
creation request may be rejected.
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"id":"ut sunt","categoryId":"officia incididunt","compartmentId":"nulla","description":"do","displayName":"laboris sed ut","isFreeTier":true,"lifecycleState":"ACTIVE","longDescription":"nisi ut eu sunt et","templateConfigSource":{"templateConfigSourceType":"ZIP_UPLOAD"},"timeCreated":"2007-06-18T03:09:48.850Z"}