All Products
Search
Document Center

Function Compute:ResumeSession

Last Updated:Mar 13, 2026

Resume a session

Operation description

Resumes a session that is in the Paused state. The system quickly resumes the session in a new execution environment using its previously persisted state. After a successful resume, the session status changes to Active, and the session begins accepting function invocation requests and routing them to the resumed instance. Use this operation with custom image functions that use HEADER_FIELD or GENERATED_COOKIE session affinity and session isolation.

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

PUT /2023-03-30/functions/{functionName}/sessions/{sessionId}/resume HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

functionName

string

No

Name of the function associated with the session

my-func

sessionId

string

No

ID of the session to resume

test-sessionid-1

Request parameters

Parameter

Type

Required

Description

Example

qualifier

string

No

Alias or version of the function associated with the session ID

aliasName1

Response elements

Element

Type

Description

Example

Session

Session configuration information

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.