Update a class
Update a class
Path Parameters
- project_id integer required
ID of the project to change
- class_id integer required
ID of the class to change
- application/json
Request Body required
- name string
The class's name.
- example string
A usage example.
- description string
The class's description to help the annotator.
- id integer
The ID of the label
Responses
- 200
- 400
- 403
- 404
- 500
Class was changed
- application/json
- Schema
- Example (from schema)
Schema
- name string
The class's name.
- example string
A usage example.
- description string
The class's description to help the annotator.
- id integer
The ID of the label
{
"name": "Comfort",
"example": "This is a good example",
"description": "This is a good description",
"id": 1
}
The body sent is invalid. Check the error message for more details
User does not have the minimal required project role "MANAGER"
The project or class was not found
Something is wrong with the API.
Loading...