Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token authentication using JWT token |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| recipe_id | String | Yes | The unique identifier of the recipe you want to delete |
{
"recipe_id": "recipe_tqYliYdmednIMdcgdHlo"
}| Parameter | Type | Description |
|---|---|---|
| data | null | No data is returned for successful deletion operations |
| status_code | Integer | HTTP status code indicating the result of the operation |
| message_code | String | A code representing the outcome of the request |
| message | String | Human-readable description of the operation result |
| success | Boolean | Indicates whether the operation was successful |
{
"data": null,
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}{
"data": null,
"status_code": 404,
"message_code": "recipe_not_found",
"message": "The specified recipe could not be found",
"success": false
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ai-playground/delete-recipe' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"recipe_id": "recipe_tqYliYdmednIMdcgdHlo"
}'{
"data": null,
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}