Method DeleteCertificate
DeleteCertificate(String, String)
Deletes a certificate
Declaration
void DeleteCertificate(string connectionId, string certificateId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | certificateId | The certificate id. See also Id |
Remarks
- You need "Access to scheme" access right (01002060-38a7-11d8-a902-0050bf427e8f). See also GetUserAdminAccessRights(String, String)
Examples
POST http://YourServerName/InfoShare/Json/Common/DeleteCertificate
Example for deleting a certificate.{
"connectionId": "0c34330d-b792-4df1-91cc-b2ed6ec0375b",
"certificateId": "8af15ec8-4c75-ed11-a4d5-00155df08701"
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | Not enough rights ({accessOperationName}, {accessOperationId}) (10071) |
ServiceException | The administrative context {administrativeContext} is already checked out by user {displayLoginName} (10129) |