Help Center/ Cloud Certificate Manager/ API Reference/ Historical APIs/ SCM APIs/ Canceling Authorization for Privacy Information
Updated on 2022-08-09 GMT+08:00

Canceling Authorization for Privacy Information

Function

This API is used to cancel authorization for privacy information and delete the privacy data saved in SCM.

URI

  • URI format

    DELETE /v2/{project_id}/scm/privacy-protection/{cert_id}

  • 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

message

Yes

String

Request result.

Example

  • Example request

    None

  • Example response
    { 
        "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