Delete a deployment version
delete
https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/versions/{deployment-version-versionNo}
This operation will delete a deployment version.
Request
Path Parameters
-
deployment-name(required): string
The name of the deployment.
-
deployment-version-versionNo(required): integer(int64)
The version number for the deployment version.
There's no request body for this operation.
Security
-
Authorization: apiKey
Type:
apiKey
Description:Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
-
oauth2_opa: oauth2
Type:
oauth2
Description:POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Response
Supported Media Types
- application/json
204 Response
Delete operation successful. No Content.
404 Response
The requested resource does not exist.
410 Response
The requested resource is no longer available.