All Products
Search
Document Center

DataWorks:ImportCertificate

Last Updated:Jan 16, 2026

Imports a certificate file.

Operation description

  1. This feature requires DataWorks Basic Edition or a later version.

  2. You must be assigned one of the following roles in the DataWorks project: Tenant Owner, Space Administrator, Project Owner, or O&M.

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 parameters

Parameter

Type

Required

Description

Example

ProjectId

integer

Yes

The ID of the project to which the certificate file belongs.

106560

Name

string

Yes

The name of the certificate file. The name must be unique within a project.

ca1.crt

CertificateFile

string

Yes

The certificate file to upload. Construct an InputStream to upload the file.

-

Description

string

No

The description of the file.

This is a file

Response elements

Element

Type

Description

Example

object

The response.

Id

integer

The unique ID of the certificate file.

676303114031776

RequestId

string

The ID of the request. This ID is used to locate logs and troubleshoot issues.

7C352CB7-CD88-50CF-9D0D-E81BDF020E7F

Examples

Success response

JSON format

{
  "Id": 676303114031776,
  "RequestId": "7C352CB7-CD88-50CF-9D0D-E81BDF020E7F"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.