Skip to content

Service: Virtual Corpus Deletion

Eliza Margaretha edited this page May 20, 2022 · 15 revisions

** WARNING: This service is experimental and may change without any notice.

Deletes a virtual corpus of a user.

Available in: full version

Method: DELETE

Service URL: root/vc/~{vc_creator}/{vc_name}

Parameters

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

Examples

Request

curl --request DELETE 
     -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MTM1MzI3O
       TAxMzQsInN1YiI6InVzZXJuYW1lIiwiaXNzIjoiaHR0cDpcL1wva29yYXAuaWRzLW1
       hbm5oZWltLmRlIn0.p4jHIGeVwTpYAPFiWAd0R8Zcazyg7e9_tUGxOyFGUlo' 
     http://localhost:8089/api/v1.0/vc/~dory/dory-vc

Advanced Setting

Developer Setting

Search services

Metadata services

Authentication and Authorization services

Client services

Super client services

Plugin services

User services

User group services

Virtual corpus services

Virtual corpus access services

Administrative services

Description services

Clone this wiki locally