This API call is designed to delete a Source, with its models and its PAA connection properties, from a PAA Group. The API removes the Source from each PAA in the group. If the removal fails on all of the PAAs, the API returns 400 and keeps the Source.
Notice
Accessing the API call is through a dedicated domain/URL, according to your PlainID Tenant LocationUsing HTML Encoded Special Characters
Use HTML encoded patterns when working with values that contain special characters like spaces, dashes, etc. Refer to this HTML URL Encoding Reference for a full list.
Important note about headers
Refer to the headers below to modify your cURL sample. Check if the following headers are in the sample, if not, ensure you add it to your cURL sample before pasting into your API tool.
Headers
*Required| Header | Value | cURL Line |
|---|---|---|
| Accept | `application/json` | `-H "Accept:application/json"` |
cURL Sample Guidelines
In order for the relevant parameters to appear in the cURL sample, you can input the values in the interactive API console on the right in the Try It or Code Sample tabs. You can then copy the cURL sample from the Code Sample tab in the correct format.
For more details about Administration API Authentication, check out the Authentication APIs documentation
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
The Environment ID (a UUID). You can find it in the Details tab of the Environment Settings. If your PAA is installed on the Tenant level, use - as the envId.
The PAA Group ID, as the List PAA Groups API returns it in id.
The Source ID.
Source Deleted. The response has no body.
Bad Request. The request is not valid, or the PAAs could not deploy the change.
{
"errors": [
{
"code": "PIP-019",
"id": "EQ7CMX",
"status": 400,
"name": "BaseError",
"message": "Source with name mockrest already exists"
}
]
}{
"errors": [
{
"code": "",
"id": "EQ7CMX",
"status": 400,
"name": "BadRequestError",
"message": "sourceId must be null"
}
]
}{
"errors": [
{
"code": "",
"id": "EQ7CMX",
"status": 400,
"name": "BaseError",
"message": "paaId: PAA3QK1UON1BOXS is not belong to paaGroupId: PAG1WMX530NXUKG"
}
]
}{
"errors": [
{
"code": "",
"id": "EQ7CMX",
"status": 400,
"name": "BadRequestError",
"message": "Metadata count mismatch"
}
]
}The bearer token or the Client ID and Client Secret are missing or not valid.
Missing or invalid bearer token
{
"message": "Invalid or missing authentication token"
}The error returned by AuthZen endpoints, with a single message describing what went wrong. AuthZen endpoints use this format instead of the errors array returned by other Runtime APIs.
The error message
Forbidden. The access token does not have the permission for this operation on the Environment (or on the Tenant, when envId is -).
Not Found. The Environment, the PAA Group, the Source, the Views or the translator type does not exist.
{
"errors": [
{
"code": "HBC-021",
"id": "EQ7CMX",
"status": 404,
"name": "PaaGroupNotFoundError",
"message": "PAA Group does not exist"
}
]
}{
"errors": [
{
"code": "APIV-022",
"id": "EQ7CMX",
"status": 404,
"name": "EnvironmentNotExistError",
"message": "Environment ID: [not-a-uuid] does not exist"
}
]
}{
"errors": [
{
"code": "",
"id": "EQ7CMX",
"status": 404,
"name": "NotFoundError",
"message": "source not found"
}
]
}An internal error occurred, or a dependency such as the cache or an Identity Source failed while processing the request.
Cache unavailable
{
"message": "Unable to connect to Redis cache service"
}Identity Source unavailable
{
"message": "PIP unreachable"
}Internal error
{
"message": "Internal error while evaluating the request"
}The error returned by AuthZen endpoints, with a single message describing what went wrong. AuthZen endpoints use this format instead of the errors array returned by other Runtime APIs.
The error message