Configs Delete
POSThttps://cloud.agenta.ai/api/variants/configs/delete
Configs Delete
Request
- application/json
Body
required
variant_ref
object
required
application_ref
object
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
integer
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
detail
object[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://cloud.agenta.ai/api/variants/configs/delete' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"variant_ref": {
"slug": "string",
"version": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"application_ref": {
"slug": "string",
"version": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}'
ResponseClear