For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete An Entity

To soft delete an entity, we need to make the following HTTP request

Deleting an Entity

DELETE /api/v1/{entity-type}/{id}

Path Parameters

Name
Type
Description

entity-type*

String

The type of entity to modify

entity-id*

String

The ID of entity to modify

Headers

Name
Type
Description

content-type*

String

Set to application/json

authorization

String

Set to Bearer {access-token} if roles in Schema is not anonymous. Else token can be empty

Usage

cURL

curl --location \
	 --request 'DELETE' \
	 --header 'content-type: application/json' \
	 --header 'authorization: Bearer {access-token}' \
	 '{registry-url}/api/v1/Teacher/{id}'

HTTPie

{registry-url} is usually http://localhost:{port}. The port can be found under the registry section in the docker-compose.yml file and is usually 8081.

Last updated