Projects
Update a project by ID
Changed onPartially updates a project and its member list. Only provided fields are updated.
patch/projects/{id}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/projects/{id}
- AuthHTTP bearer
Path parameters
idinteger required
Example:1
The numeric project ID
Request body
Example request
{
"high_risk_roles": [
"Provider",
"Deployer"
],
"members": [
2,
3,
5
]
}Response
Project updated successfully
Example response
{
"message": "Accepted",
"data": {
"id": 42,
"uc_id": "UC-7",
"project_title": "Customer Support Chatbot",
"owner": 1,
"geography": 1,
"high_risk_roles": [
"Provider",
"Deployer"
],
"framework": [
{
"name": "EU AI Act"
}
]
}
}Changes
- breaking
added to the
request propertyallOflist - breaking
removed the enum value
Deployerof the request property - breaking
removed the enum value
Providerof the request property - breaking
the
request property type changed fromstringto no type - info
added the new optional request property
- info
the request property
became nullable - info
request property
deprecated - info
added the optional property
/////to the response with the status - info
response property
data/allOf[Project]/type_of_high_risk_roledeprecated
- breaking
- warning
added the new
Out of scopeenum value to the/////////response property for the response status - info
added the new
Out of scopeenum value to the request property
- warning