PUT
https://api.main.apexscore.ai
/
api
/
v1
/
segments
/
{id}
curl --request PUT \
  --url https://api.main.apexscore.ai/api/v1/segments/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "portfolio_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "configuration_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "portfolio": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>"
  },
  "configurations": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "report_name": "<string>",
      "report_issued_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

A UUID string identifying this segment.

Body

application/json

Response

200 - application/json

The response is of type object.