Delete Skill Version
VersionDeleteResponse beta().skills().versions().delete(VersionDeleteParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
/v1/skills/{skill_id}/versions/{version}?beta=true
Delete Skill Version
Parameters
Returns
Delete Skill Version
Java
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.skills.versions.VersionDeleteParams;
import com.anthropic.models.beta.skills.versions.VersionDeleteResponse;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
VersionDeleteParams params = VersionDeleteParams.builder()
.skillId("skill_id")
.version("version")
.build();
VersionDeleteResponse version = client.beta().skills().versions().delete(params);
}
}{
"id": "1759178010641129",
"type": "type"
}Returns Examples
{
"id": "1759178010641129",
"type": "type"
}