Skip to main content
PUT
/
api
/
management
/
projects
/
{id}
Editar projeto
curl --request PUT \
  --url https://api.olie.ai/api/management/projects/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "description": null,
  "impact": 150
}
'
{
  "project": {
    "budget": 950000,
    "code": "P-83",
    "contact_id": 12597,
    "created_at": "2025-12-16T14:10:51.000000Z",
    "created_by": "019aeaa3-2370-731c-9008-be759795f449",
    "customer_id": "019b277d-c615-723f-a1dd-f03940bce866",
    "deleted_at": null,
    "description": "Companhia de energia da cidade de Hawkins",
    "form_answers": [
      {
        "answer": null,
        "answered_by": null,
        "id": 2130,
        "label": "Texto curto",
        "model": "Project",
        "updated_at": "2025-12-16T14:45:52.000000Z"
      },
      {
        "answer": null,
        "answered_by": null,
        "id": 2131,
        "label": "Texto longo",
        "model": "Project",
        "updated_at": "2025-12-16T14:45:52.000000Z"
      }
    ],
    "frame": {
      "cockpit_access": 0,
      "frame_billing_data_id": null,
      "id": "019aeaa3-2778-73ec-8f8d-59d06cc59dca",
      "logo_img": null,
      "model_forms": [
        {
          "class": "App\\Models\\Project",
          "id": 377
        }
      ],
      "name": "OlieDev Company ",
      "old_id": null,
      "status": 1,
      "subdomain": "devframe",
      "type": 2
    },
    "frame_id": "019aeaa3-2778-73ec-8f8d-59d06cc59dca",
    "id": "019b277f-e453-733d-a00e-6d26d444008b",
    "impact": 5,
    "is_template": false,
    "merged_id": null,
    "name": "Laboratório Hawkins",
    "old_id": null,
    "parent_id": null,
    "share_settings": null,
    "share_token": null,
    "status": 1,
    "updated_at": "2025-12-16T18:49:13.000000Z"
  },
  "response": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

ID do projeto

Example:

"<string>"

Body

application/json
description
unknown
impact
number
Example:

150

Response

Editado com sucesso

project
object
response
boolean
Example:

true