刪除外部金鑰
DELETE/v1/organizations/external_keys/{external_key_id}
刪除外部金鑰設定。
若仍有任何工作區參照此設定,請求將被拒絕。
Parameters
Returns
刪除外部金鑰
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.organization.externalkeys.ExternalKeyDeleteParams;
import com.anthropic.models.organization.externalkeys.ExternalKeyDeleteResponse;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
ExternalKeyDeleteResponse externalKey = client.organization().externalKeys().delete("external_key_id");
}
}Response 200
{
"id": "ekey_01AbCdEfGhIjKlMnOpQrStUv",
"type": "external_key_deleted"
}Returns Examples
Response 200
{
"id": "ekey_01AbCdEfGhIjKlMnOpQrStUv",
"type": "external_key_deleted"
}