put http://gooru.org/api/nucleus/v2/classes/
Update a Class using a JSON payload
Header name | Value |
---|---|
Authorization | Token {{authorization access token}} |
Content-Type | application/json |
Note
The Class entity will be updated based on the JSON payload. This payload can contain the title, grade, visibility.
Error Code
Error Code | Error Description |
---|---|
400 - Bad Request | Missing Required field. Invalid value |
401 - Unauthorized | Missing Authorization in header |
403 - Forbidden | Authenticated user can edit their class details. |