Delete a Prompt Template in a Project

delete

/ic/api/integration/v1/projects/{projectId}/ai/templates/{id}

Deletes the specified Prompt Template.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

200 Response

Successful operation

500 Response

Server error
Back to Top

Examples

The following example shows how to delete a prompt template by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.

Example: Delete prompt template ORDER_CREATION_PROMP

This command deletes the specified prompt template from the project.

The id is in the form: code%7Cversion. The %7C is the encoded | (vertical line).

curl -X DELETE -H 'Authorization: Bearer access_token' https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/projects/TEST_PROJECT/ai/templates/ORDER_CREATION_PROMPT%7C01.00.0000?integrationInstance=service-instance
Back to Top