blob: d2db6faf080416165559883e506acfe46e877561 [file] [log] [blame]
---
id: delete-model
title: "delete model"
description: "delete model"
sidebar_label: "delete model"
hide_title: true
hide_table_of_contents: true
api: eJztWEtv2zgQ/isEL7uLVSQn3QJb39LW6KbbbYs80EPWhzE5sthSpEpSsQ1D/30xpCTbcbBtgxxbFLAeM8OZb755KFseYOn59JbXVqLm84zbBh0EZc2F5FMuUWPAf+LLjDv0jTUePZ9u+dlkQj8SvXCqIQ0+5ZfYOPRogmfABnFWWseASWcbNprnGRfWBDSBrEDTaCXii+LOyHzp4E4FZWx+d/r7Z0+2t9yLCmugq7BpkE+5XXxGEXjGG0d2g0qeCStxT0qZgEt0POOldTWE9OjZGc/uOX8VILSekTqzJQsVjiHwjKNpaz69ncy7jFMoDcq9QxbWagRzZPNThaFCF40dAsBW4JlvhUDvy1bzLv7L+B8P4XphJMGDBOsCJHP4tUUfGDpnXc4uAhO21ZItkAloPUq22DAwrDW4blAE3KksrNywhASzjtnoHt17CnqQugOtZPKzBKVbhxk5WzHwTJn4llFecnbjW9B6wzy6O/JvL5MkwPosZwx0qGy7rJgyzNuaPPXomVd1o5EFXIei0aBGDVarZRUoJIehdSYFRUDGo9wvntVKSo0rcJg/KZ8OwX979eF9Qpo1sNE24t97pMw+0VcqVKxsXcRUYgClPbMmOh0NxCL62ipH5LnlNXoPS2JX9CBL1J1/N6FrZVRNtDydTCYZr2Hd357S7WEUf11ff9x5Gk1mHNdA6EcDZ13vxu4kH5wyyyNALkxAZ0AzEmMSS2VUpEpfNSnULhvj+6bFc1a1NZgThyBhoZENml3GfQDxZc8EOAcbnnEVsPbHpmMRBRUoKj4jT1L76vaiHSA9nUyeDUHzlyAvE/tna4FN36TGEPg/oKlMdqXEU8E+X6+PC/a8J+mJVxJZ4+xCY81CBQOtjY3UBikdnUAxl87WET+hFfGfVKm+UMYOmgyy5+t1AthHutk2sNo6ZL5BoUolmLSirdGEVL2K/kt1p2QLmjnbBvQ/i+VnsTyqWM7GYrlsTVA1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/wAbY5OW
sidebar_class_name: "delete api-method"
info_path: docs/api/rest/gravitino-rest-api
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"delete model"}
>
</Heading>
<MethodEndpoint
method={"delete"}
path={"/metalakes/{metalake}/catalogs/{catalog}/schemas/{schema}/models/{model}"}
>
</MethodEndpoint>
delete model
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<details
style={{"marginBottom":"1rem"}}
className={"openapi-markdown__details"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
>
<h3
className={"openapi-markdown__details-summary-header-params"}
>
Path Parameters
</h3>
</summary><div>
<ul>
<ParamsItem
className={"paramsItem"}
param={{"name":"metalake","in":"path","description":"The name of the metalake","required":true,"schema":{"type":"string"}}}
>
</ParamsItem><ParamsItem
className={"paramsItem"}
param={{"name":"catalog","in":"path","description":"The name of the catalog","required":true,"schema":{"type":"string"}}}
>
</ParamsItem><ParamsItem
className={"paramsItem"}
param={{"name":"schema","in":"path","description":"The name of the schema","required":true,"schema":{"type":"string"}}}
>
</ParamsItem><ParamsItem
className={"paramsItem"}
param={{"name":"model","in":"path","description":"The name of the model","required":true,"schema":{"type":"string"}}}
>
</ParamsItem>
</ul>
</div>
</details><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<div>
Represents a response for a drop operation
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/vnd.gravitino.v1+json"}
value={"application/vnd.gravitino.v1+json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"int32"}
qualifierMessage={"**Possible values:** [`0`]"}
schema={{"type":"integer","format":"int32","description":"Status code of the response","enum":[0]}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"dropped"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"Whether the drop operation was successful"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"code\": 0,\n \"dropped\": true\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"400"}
value={"400"}
>
<div>
Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware.
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/vnd.gravitino.v1+json"}
value={"application/vnd.gravitino.v1+json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"code"}
required={true}
schemaName={"integer"}
qualifierMessage={"**Possible values:** `>= 1000` and `<= 1100`"}
schema={{"type":"integer","minimum":1000,"maximum":1100,"description":"HTTP response code","example":1002}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"type"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Internal type definition of the error"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"message"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"A human-readable message"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"stack"}
required={false}
schemaName={"string[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string"}}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"code\": 1002,\n \"type\": \"string\",\n \"message\": \"string\",\n \"stack\": [\n \"string\"\n ]\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem><TabItem
label={"Example"}
value={"Example"}
>
<ResponseSamples
responseExample={"{\n \"code\": 1003,\n \"type\": \"BadRequestException\",\n \"message\": \"Malformed request\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"5xx"}
value={"5xx"}
>
<div>
A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes.
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/vnd.gravitino.v1+json"}
value={"application/vnd.gravitino.v1+json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"code"}
required={true}
schemaName={"integer"}
qualifierMessage={"**Possible values:** `>= 1000` and `<= 1100`"}
schema={{"type":"integer","minimum":1000,"maximum":1100,"description":"HTTP response code","example":1002}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"type"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Internal type definition of the error"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"message"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"A human-readable message"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"stack"}
required={false}
schemaName={"string[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string"}}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"code\": 1002,\n \"type\": \"string\",\n \"message\": \"string\",\n \"stack\": [\n \"string\"\n ]\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem><TabItem
label={"Example"}
value={"Example"}
>
<ResponseSamples
responseExample={"{\n \"code\": 1002,\n \"type\": \"RuntimeException\",\n \"message\": \"Internal Server Error\",\n \"stack\": [\n \"java.lang.RuntimeException: Internal Server Error\"\n ]\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem>
</ApiTabs>
</div>
</div>