Skip to main content
DELETE
/
public
/
api
/
proposals
/
{ProposalId}
/
ai
/
content
/
{ContentId}
curl -i -X DELETE \
  'https://api.portal.io/public/proposals/12345/ai/content/42' \
  -H 'Accept: application/json' \
  -H 'X-MSS-API-APPID: YOUR_API_APPID' \
  -H 'X-MSS-API-USERKEY: YOUR_API_USERKEY' \
  -H 'X-MSS-CUSTOM-DATE: Thu, 17 Apr 2026 12:00:00 GMT' \
  -H 'X-MSS-SIGNATURE: Base64EncodedHMACSHA256Signature'
{
  "id": 123,
  "deleted": true
}
Removes a specific AI Builder content item from a proposal. Use the id returned when you uploaded the content, or retrieve it from the list content endpoint. The proposal must be in Draft status to allow deletions.
curl -i -X DELETE \
  'https://api.portal.io/public/proposals/12345/ai/content/42' \
  -H 'Accept: application/json' \
  -H 'X-MSS-API-APPID: YOUR_API_APPID' \
  -H 'X-MSS-API-USERKEY: YOUR_API_USERKEY' \
  -H 'X-MSS-CUSTOM-DATE: Thu, 17 Apr 2026 12:00:00 GMT' \
  -H 'X-MSS-SIGNATURE: Base64EncodedHMACSHA256Signature'
Response
{
  "id": 42,
  "deleted": true
}

Headers

Accept
enum<string>
required

Accept Header

Available options:
application/json
X-MSS-API-APPID
string
required

Application Id

X-MSS-CUSTOM-DATE
string
required

A date timestamp of the request

X-MSS-SIGNATURE
string
required

A signature for the request

X-MSS-API-USERKEY
string
required

User API Key

Path Parameters

ProposalId
integer<int32>
required

Unique identifier of the proposal that owns the AI-generated content. Must be a positive integer. The proposal will typically need to be in Draft status to allow content deletions.

ContentId
integer<int32>
required

Unique identifier of the AI-generated content item to delete. Must belong to the specified ProposalId. Attempting to delete a content item that does not exist or belongs to another proposal will return NotFound.

Response

Success

PublicAiProposalContentDeleteResponse

id
integer<int32>
required

Unique identifier of the AI-generated content item that was requested to be deleted. Matches the ContentId provided in the request when deletion succeeds.

deleted
boolean
required

Flag indicating whether the specified content item was deleted (true) or if no deletion occurred (false). Expected to be set to the true value when the call returns 200 OK.