-
Notifications
You must be signed in to change notification settings - Fork 3
Service: Virtual Corpus Deletion
Eliza Margaretha Illig edited this page Oct 25, 2024
·
19 revisions
Deletes a virtual corpus of a user. This service requires authorization scope: delete_vc.
Available in: full version
Method: DELETE
Service URL: root/vc/~{vc_creator}/{vc_name}
Header Parameter
| Name | Required | Authentication scheme | Value |
|---|---|---|---|
| Authorization | yes | HTTP authentication with scheme: Bearer | OAuth2 access token |
Path Parameter
| Name | Required | Description | Type |
|---|---|---|---|
| vc_creator | yes | the username of the virtual corpus creator, must be the same as the authenticated user | String |
| vc_name | yes | the name of the virtual corpus | String |
| HTTP Status Code | Description |
|---|---|
| 200 OK | successful request |
| 401 Unauthorized | when the operation is not permitted, e.g. user doesn't log in |
| 415 Unsupported Media Type | when content-type is not specified or incorrect |
Request
curl --request DELETE
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE'
http://localhost:8089/api/v1.0/vc/~dory/dory-vc
- Setting LDAP
- Setting initial super client
- Setting a custom environment
- Setting resources for CLARIN FCS
- Disabling query rewrites
- Named virtual corpora
- Importing Kustvakt to Eclipse
- Installing Lombok
- Setting annotation processors
- Setting a test environment
- HTTP Basic Authentication
- OAuth2 authorization scopes
- OAuth2 authorization request
- OAuth2 token request
- OAuth2 token revocation
- OAuth2 client registration
- OAuth2 client info
- OAuth2 client deregistration
- OAuth2 client secret reset
- Plugin registration
- Plugin list (marketplace)
- Plugin installation
- Plugin uninstallation
- Installed plugin list
- VC creation and update
- VC deletion
- VC list
- VC info
- VC KoralQuery
- VC statistics
- VC statistics with KoralQuery