POST
/
logs
/
exports
/
{exportId}
/
cancel
from portkey_ai import Portkey

portkey = Portkey(
  api_key="PORTKEY_API_KEY"
)

res = portkey.logs.exports.cancel(
  export_id='EXPORT_ID'
)

print(res)
{
  "message": "<string>",
  "object": "export"
}

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

exportId
string
required

Response

200 - application/json
Successful response
message
string
required

A message indicating the status of the export task

object
enum<string>
required

The type of the object

Available options:
export