PATCH
/
agent-profiles
/
{profile_id}
Update an agent profile
curl --request PATCH \
  --url https://odyssey.asteroid.ai/api/v1/agent-profiles/{profile_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Asteroid-Agents-Api-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "proxy_cc": "us",
  "proxy_type": "residential",
  "captcha_solver_active": true,
  "sticky_ip": true,
  "credentials_to_add": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "data": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "credentials_to_delete": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "proxy_cc": "us",
  "proxy_type": "residential",
  "captcha_solver_active": true,
  "sticky_ip": true,
  "credentials": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "data": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-Asteroid-Agents-Api-Key
string
header
required

Path Parameters

profile_id
string<uuid>
required

The ID of the agent profile

Body

application/json

Response

200
application/json

Agent profile updated successfully

The response is of type object.