--- title: "カテゴリの削除" slug: "vodstation-category-delete" tags: ["VOD Station"] updated: 2026-09-17T09:58:13Z published: 2026-09-17T09:58:13Z canonical: "api.ncloud-docs.com/vodstation-category-delete" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # カテゴリの削除 Classic/VPC環境で利用できます。 カテゴリを削除します。 参考 カテゴリを削除しても Object Storageのバケットに作成されたフォルダやファイルは削除されず、維持されます。使用しないフォルダやファイルは Object Storageから削除してください。 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | DELETE | /api/v2/category/{categoryId} | ### リクエストヘッダ VOD Station APIで共通して使用されるヘッダの詳細は、[VOD Stationのリクエストヘッダ](/docs/ja/vodstation#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエストパスパラメータ リクエストパスパラメータの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `categoryId` | String | Required | カテゴリ ID - [カテゴリリストの照会](/docs/ja/vodstation-category-list)を参照 | ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl --location --request DELETE 'https://vodstation.apigw.ntruss.com/api/v2/category/*****' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## レスポンス レスポンス形式を説明します。 ### レスポンスボディ レスポンスボディの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `content` | Object | - | レスポンス結果 | | `content.disabled` | Boolean | - | Sub Accountは無効化するか - `true` \| `false` - `true`: 無効化 - `false`: 有効化 | | `content.id` | Integer | - | カテゴリ ID | | `content.name` | String | - | カテゴリ名 | | `content.thumbnail` | Boolean | - | サムネイル抽出を設定するか - `true` \| `false` - `true`: 抽出 - `false`: 抽出しない | | `content.notificationUrl` | String | - | コールバック(Callback) URL | | `content.output` | Object | - | 出力設定情報 | | `content.output.bucketName` | String | - | 出力ファイル保存先のバケット名 | | `content.output.filePath` | String | - | 出力ファイル保存先の詳細パス | | `content.output.accessControl` | String | - | 出力ファイルの公開範囲 | | `content.output.thumbnailAccessControl` | String | - | 出力サムネイルの公開範囲 | | `content.output.thumbnailBucketName` | String | - | 出力サムネイル保存先のバケット名 | | `content.output.thumbnailFilePath` | String | - | 出力サムネイル保存先バケットの詳細パス | | `content.lastWorkStart` | Integer | - | 最終ジョブ開始時間(ミリ秒) - Unix Timestamp形式 | | `content.createTime` | Integer | - | カテゴリ作成日時(ミリ秒) - Unix Timestamp形式 | | `content.updateTime` | Integer | - | カテゴリ更新日時(ミリ秒) - Unix Timestamp形式 | | `content.deleteTime` | Integer | - | カテゴリ削除日時(ミリ秒) - Unix Timestamp形式 | | `content.status` | String | - | カテゴリの状態 - `CREATED` \| `DELETED` \| `RUNNING` - `CREATED`: 作成完了 - `DELETED`: 削除完了 - `RUNNING`: 使用中 | | `content.outputTotalSize` | Integer | - | 出力ファイルの総サイズ(Byte) | | `content.outputTotal` | Integer | - | 出力ファイルの総数 | | `content.inputTotal` | Integer | - | 入力ファイルの総数 | | `content.outputType` | Integer | - | エンコード設定に応じた出力タイプ数 | | `content.advancedOptions` | Object | - | 高度な設定情報 | | `content.advancedOptions.trimming` | Object | - | 出力ファイルのトリミング(再生区間)設定 | | `content.advancedOptions.trimming.startTimeCode` | String | - | トリミング開始点 - HH:MM:SS.S形式 | | `content.advancedOptions.trimming.endTimeCode` | String | - | トリミング終了点 - HH:MM:SS.S形式 | | `content.advancedOptions.imageOverlay` | Object | - | 画像オーバーレイ(挿入)設定 | | `content.advancedOptions.imageOverlay.input` | Object | - | 画像の設定情報 | | `content.advancedOptions.imageOverlay.input.bucketName` | String | - | 画像が保存されているバケット名 | | `content.advancedOptions.imageOverlay.input.filePath` | String | - | ファイル名を含む画像の詳細パス | | `content.advancedOptions.imageOverlay.size` | Object | - | 画像のサイズ情報 | | `content.advancedOptions.imageOverlay.size.width` | Integer | - | 画像の幅(ピクセル) | | `content.advancedOptions.imageOverlay.size.height` | Integer | - | 画像の高さ(ピクセル) | | `content.advancedOptions.imageOverlay.position` | Object | - | 挿入する画像位置の設定 | | `content.advancedOptions.imageOverlay.position.x` | Integer | - | x軸の位置(ピクセル) | | `content.advancedOptions.imageOverlay.position.y` | Integer | - | y軸の位置(ピクセル) | | `content.encodingOptions` | Array | - | エンコードオプション ID | | `content.encodingOptionTemplateId` | Integer | - | エンコードテンプレート ID | ### レスポンスステータスコード VOD Station APIで共通して使用されるレスポンスステータスコードの詳細は、[VOD Stationのレスポンスステータスコード](/docs/ja/vodstation#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンスのサンプルコードは次の通りです。 ``` { "content": { "disabled": false, "id": *****, "name": "VOD-Category", "thumbnail": true, "notificationUrl": "https://example.com/vodstation/callback", "output": { "bucketName": "station-000", "filePath": "/", "accessControl": "PUBLIC_READ", "thumbnailAccessControl": "PUBLIC_READ", "thumbnailBucketName": "station-000", "thumbnailFilePath": "/" }, "lastWorkStart": 1755587353000, "createTime": 1755569623000, "updateTime": 1755590013000, "deleteTime": 1755590013000, "status": "DELETED", "outputTotalSize": 17107078, "outputTotal": 21, "inputTotal": 7, "outputType": 3, "advancedOptions": { "trimming": { "startTimeCode": "00:00:00.0", "endTimeCode": "00:08:00.9" }, "imageOverlay": { "input": { "bucketName": "station-000", "filePath": "/VODStation.png" }, "size": { "width": 50, "height": 50 }, "position": { "x": 50, "y": 50 } } }, "encodingOptions": [ 1, 2, 3 ], "encodingOptionTemplateId": 1 } } ```