Delete workspace template
Delete workspace template
Path Parameters
workspace string required
The specified workspace.
Responses
- 200
ok
application/json
Schema
Example (from schema)
Schema
message string required
error message
{
"message": "string"
}
DELETE /kapis/tenant.kubesphere.io/v1alpha3/workspacetemplates/:workspace
Authorization
name: Authorizationtype: apiKeydescription: Bearer Token Authenticationin: header
Request
Request
curl / cURL
curl -L -X DELETE 'https://docs.kubesphere.com.cn/kapis/tenant.kubesphere.io/v1alpha3/workspacetemplates/:workspace' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
python / requests
curl -L -X DELETE 'https://docs.kubesphere.com.cn/kapis/tenant.kubesphere.io/v1alpha3/workspacetemplates/:workspace' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
go / native
curl -L -X DELETE 'https://docs.kubesphere.com.cn/kapis/tenant.kubesphere.io/v1alpha3/workspacetemplates/:workspace' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
nodejs / axios
curl -L -X DELETE 'https://docs.kubesphere.com.cn/kapis/tenant.kubesphere.io/v1alpha3/workspacetemplates/:workspace' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
java / unirest
curl -L -X DELETE 'https://docs.kubesphere.com.cn/kapis/tenant.kubesphere.io/v1alpha3/workspacetemplates/:workspace' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'