PUT api/certificates/{certificateId}
Certificate metadata update.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
certificateId | integer |
Required |
Body Parameters
CertificateUpdateDTOName | Description | Type | Additional information |
---|---|---|---|
AccountId |
Id of the user to assign the certificate to. If null, it's a company-level certificate. |
integer |
None. |
Password |
Password for the certificate. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountId": 1, "Password": "sample string 1" }
text/html
Sample:
{"AccountId":1,"Password":"sample string 1"}
application/xml, text/xml
Sample:
<CertificateUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs"> <AccountId>1</AccountId> <Password>sample string 1</Password> </CertificateUpdateDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />