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
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a | |
particular request, please provide the request ID. | |||
opc-retry-token | string | A 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-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (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"}