Imports a certificate file.
Operation description
This feature requires DataWorks Basic Edition or a later version.
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
Test
RAM authorization
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.