Delete a deployment
delete
https://{your_site_interface}/opa-hub/api/12.2.34/deployments/{deployment-name}
This operation will delete a deployment.
Request
Path Parameters
-
deployment-name(required): string
The name of the deployment.
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/{API_version}/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/{API_version}/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.