Skip to main content
PUT
https://prod-api.raisedonors.com
/
api
/
Segment
/
replace
Replace a Segment
curl --request PUT \
  --url https://prod-api.raisedonors.com/api/Segment/replace \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "currentSegmentId": 123,
  "newSegmentId": 123
}
'
123

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Body

The replace segment request model.

Represents a replacesegment request.

currentSegmentId
integer<int64>

Gets or sets the currentsegment identifier.

newSegmentId
integer<int64> | null

Gets or sets the newsegment identifier.

Response

OK

The response is of type integer<int32>.

Last modified on June 5, 2026