CreateTemplateCache

Updated at:

Creates a template cache.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /pop/2026-05-09/template-caches HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

body CreateTemplateCacheInput

No

The request struct for creating a template cache.

Response elements

Element

Type

Description

Example

object

Schema of Response

requestId

string

Id of the request

B5AD8B54-4358-5F5B-ACAA-52F2016459C6

code

string

The error code. A value of 200 indicates success.

200

message

string

The response message.

success

templateCache PublicTemplateCache

The template cache object.

Examples

Success response

JSON format

{
  "requestId": "B5AD8B54-4358-5F5B-ACAA-52F2016459C6",
  "code": "200",
  "message": "success",
  "templateCache": {
    "teamID": "13b721e6-8cc8-5df2-af13-80316f7508af",
    "templateID": "us7dxqaezw5uu7aa2cm5",
    "status": "Success",
    "statusReason": "The image prefetch task is queued",
    "progress": 80,
    "createdTime": "2026-09-18T10:00:00Z",
    "imageDigest": "sha256:8f3c2a1b",
    "imageSizeMB": 512,
    "readyTime": "2026-09-18T10:05:00Z"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.