Help Center/ FunctionGraph/ API Reference/ APIs/ Function Logs/ Enabling Asynchronous Status Notification
Updated on 2024-03-14 GMT+08:00

Enabling Asynchronous Status Notification

Function

Enable asynchronous status notification.

URI

POST /v2/{project_id}/fgs/functions/enable-async-status-logs

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details, see Obtaining a Project ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

Content-Type

Yes

String

Message body type (format).

Response Parameters

None

Example Requests

Enable asynchronous status notification.

POST /v2/{project_id}/fgs/functions/enable-async-status-logs

Example Responses

None

Status Codes

Status Code

Description

200

ok

Error Codes

See Error Codes.