Delete a workspace
delete
https://{your_site_interface}/opa-hub/api/12.2.35/workspaces/{workspace-name}
This operation will delete a workspace.
Request
Path Parameters
-
workspace-name(required): string
The name of the workspace
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.
409 Response
The request could not be completed due to a conflict with the current state of the resource.
410 Response
The requested resource is no longer available.