Skip to content

Service: Virtual Corpus Deletion

Eliza Margaretha Illig edited this page Oct 25, 2024 · 19 revisions

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

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}

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

Response Codes

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

Examples

Request

curl --request DELETE 
     -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE' 
     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 (VC) services

VC sharing services

Administrative services

Description services

Clone this wiki locally