PUT api/certificates/{certificateId}

Certificate metadata update.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
certificateId

integer

Required

Body Parameters

CertificateUpdateDTO
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CertificateUpdateDTO'.

Response Information

Resource Description

Object

None.

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/" />