Exclui um certificado de um site.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
esa:DeleteCertificate |
delete |
*Site
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| SiteId |
integer |
Sim |
O ID do site, que pode ser obtido chamando a operação ListSites. |
1234567890123 |
| Id |
string |
Sim |
O ID do certificado. |
babaded901474b9693acf530e0fb1d95 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Esquema da resposta. |
||
| SiteId |
integer |
O ID do site. |
1234567890123 |
| SiteName |
string |
O nome do site. |
example.com |
| Id |
string |
O ID do certificado. |
babaded901474b9693acf530e0fb1d95 |
| RequestId |
string |
O ID da solicitação. |
F32C57AA-7BF8-49AE-A2CC-9F42390F5A19 |
Exemplos
Resposta de sucesso
JSON formato
{
"SiteId": 1234567890123,
"SiteName": "example.com ",
"Id": "babaded901474b9693acf530e0fb1d95",
"RequestId": "F32C57AA-7BF8-49AE-A2CC-9F42390F5A19"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | Certificate.StatusError | The status of the certificate is invalid. | The specified certificate status is invalid. |
| 400 | MissingSiteId | Required parameter SiteId missing. Specify SiteId and try again. | Required parameter SiteId missing. Specify SiteId and try again. |
| 400 | InternalError | An internal exception occurred, please try again later. | An inner exception was triggered. Please try again later. |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | Id.MissingParameter | The parameter Id is required. | The required parameter Id is missing. |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | The authentication time parameter you entered is invalid. Check the parameter value and try again. |
| 403 | Unauthorized.InvalidToken | Token authentication failed. | The token you entered is invalid. Please check and enter the correct token and try again. |
| 404 | Certificate.NotFound | The specified certificate does not exist. | The specified certificate does not exist. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.