Delete Invite
DELETE/v1/organizations/invites/{invite_id}
Delete a pending invite.
Parameters
Returns
Delete Invite
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.organization.invites.InviteDeleteParams;
import com.anthropic.models.organization.invites.InviteDeleteResponse;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
InviteDeleteResponse invite = client.organization().invites().delete("invite_id");
}
}Response 200
{
"id": "invite_015gWxCN9Hfg2QhZwTK7Mdeu",
"type": "invite_deleted"
}Returns Examples
Response 200
{
"id": "invite_015gWxCN9Hfg2QhZwTK7Mdeu",
"type": "invite_deleted"
}