Update a project metadata
PATCH/api/project-metadata/:id
- settings.company: allows to update resources.
Here the dedicated support page.
Request
Path Parameters
id integerrequired
The ID of the project metadata to update
Header Parameters
Wethod-Company stringrequired
The company you want to interact with
Wethod-Version stringrequired
The API version you want to use
- application/json
Body
key string
Metadata tag name
values string[]
Values of the metadata tag
is_required boolean
Is metadata tag required
Responses
- 200
- 400
- 401
Returns the project metadata updated.
- application/json
- Schema
- Example (from schema)
Schema
id integerrequired
Possible values: >= 1
created_at date-timerequired
updated_at date-timerequired
key stringrequired
values string[]required
is_required booleanrequired
{
"id": 1,
"created_at": "2025-02-13T09:26:18.666Z",
"updated_at": "2025-02-13T09:26:18.666Z",
"key": "Sector",
"values": [
"IT",
"Finance"
],
"is_required": true
}
Validation failed
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
key string
Error unique key
message string
Human-readable message describing the error
failures
object[]
List of validation errors
field string
Name of the field causing the error
message string
Human-readable description of the error
{
"key": "invalid_data",
"message": "You provided invalid data. Check 'failures' for details.",
"failures": [
{
"field": "string",
"message": "string"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
key string
Error unique key
message string
Human-readable message describing the error
{
"key": "string",
"message": "string"
}
Loading...