Updated on 2022-08-09 GMT+08:00

Canceling an Application

Function

This API is used to cancel an application of certificate reviewing.

URI

  • URI format

    POST /v2/{project_id}/scm/cert/{cert_id}/cancel-cert

  • Parameters

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID.

    cert_id

    Yes

    String

    Certificate ID.

Request

Request parameters

None

Response

Response parameters

Parameter

Mandatory

Type

Description

cert_id

Yes

String

Certificate ID.

message

Yes

String

Request result.

Example

  • Example request

    None

  • Example response
    { 
        "cert_id": " scs1481110651012",
        "message": "success"
    }

    or

    { 
       "error_code": "SCM.XXXX",  
       "error_msg": "XXXX"   
     }

Status Codes

Table 1 lists the normal status code returned by the API.
Table 1 Status code

Status Code

Status

Description

200

OK

Request processed successfully.

For details about error codes, see Error Codes