Skip to content
  • Auto
  • Light
  • Dark
Get Started

Delete

Delete
client.Apps.Entitlements.Delete(ctx, id, params) (*AppEntitlementDeleteResponse, error)
delete/api/v1/apps/{app_id}/entitlements/{id}

Invokes the c1.api.app.v1.AppEntitlements.Delete method.

Parameters
idstring

The id field.

paramsAppIDfieldBodyfieldAppEntitlementDeleteParams
Hide ParametersShow Parameters
AppIDfield
param.Field[string]

Path param: The appId field.

Bodyfield
optional
param.Field[any]

Body param: The DeleteAppEntitlementRequest message.

Returns
AppEntitlementDeleteResponseinterface

The DeleteAppEntitlementResponse message.

Request example Go
package main

import (
  "context"
  "fmt"

  "github.com/stainless-sdks/-go"
  "github.com/stainless-sdks/-go/option"
)

func main() {
  client := conductoronesdk.NewClient(
    option.WithAPIKey("My API Key"),
  )
  entitlement, err := client.Apps.Entitlements.Delete(
    context.TODO(),
    "id",
    conductoronesdk.AppEntitlementDeleteParams{
      AppID: "app_id",
    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", entitlement)
}
200 Example
{}