## Revoke an API key's access to a workspace `client.APIKeys.Access.Remove(ctx, id, workspaceID) error` **delete** `/v1/account/api_keys/{id}/workspaces/{workspaceId}` Revokes this API key's access to the specified workspace. Idempotent. A key may have zero workspaces and remains valid. ### Parameters - `id string` - `workspaceID string` ### Example ```go package main import ( "context" "github.com/cadenya/cadenya-go" "github.com/cadenya/cadenya-go/option" ) func main() { client := cadenya.NewClient( option.WithAPIKey("My API Key"), ) err := client.APIKeys.Access.Remove( context.TODO(), "id", "workspaceId", ) if err != nil { panic(err.Error()) } } ```