Deletes a service source.
Debug
Authorization information
The following table describes the authorization information for this operation. You can add this information to the Action element of a Resource Access Management (RAM) policy statement to grant a RAM user or RAM role the permission to call this operation.
- Operation: The specific permission.
- Access level: The access level of each operation. Valid values are Write, Read, and List.
- Resource type: The resource type that the operation is authorized to access. The details are as follows:
- An asterisk ( * ) indicates a required resource type.
- If an operation does not support resource-level authorization, the value is
All Resources.
- Condition key: The condition key defined by the cloud service.
- Associated operation: The other permissions required to successfully call this operation. The caller must also have the permissions for the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| apig:DeleteSource | none | *Source acs:apig:{#regionId}:{#accountId}:source/{#SourceId} |
| None |
Request syntax
<p>DELETE /v1/sources/{sourceId} HTTP/1.1</p>Request parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| sourceId | string | No | The source ID. | src-crdddallhtgtriah*** |
Response parameters
Examples
Sample response for a successful request
The response is in JSON format.
{
"requestId": "C67DED2B-F19B-5BEC-88C1-D6EB854CD0D4",
"code": "Ok",
"message": "success"
}Error codes
For a list of error codes, see the Error center.
Change history
| Change time | Change summary | Operation |
|---|---|---|
| 2025-12-11 | New OpenAPI. | View change details |
