import os
from scale_gp import SGPClient
client = SGPClient(
api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted
)
generic_delete_response = client.application_variants.delete(
"application_variant_id",
)
print(generic_delete_response.count){
"success": true,
"count": 123
}Deletes a application variant
This API can be used to delete a application variant by ID. To use this API, pass in the id that was returned from your Create Application Variant API call as a path parameter.
import os
from scale_gp import SGPClient
client = SGPClient(
api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted
)
generic_delete_response = client.application_variants.delete(
"application_variant_id",
)
print(generic_delete_response.count){
"success": true,
"count": 123
}