UPDATE Object optional relations

Body Params

Bulk update optional related objects by object type id. For every object in
objects it will replace optional related objects of the selected
object type relationTypeId with the objects in relatedObjects.

For example if objectId in objects is a class group and
relatedObjects are modules the relationTypeId would be the type
id for Module. This would replace all the modules of the class group.

required
≥ 1

The id of the object type to be replaced. This is not to be confused with relation types, which are something completely different. Usually relationTypeId should refer to the type of the objects in the relatedObjects array. Remember to be consistent in using the same type of id format for the request.

objects
array of objects
required
length ≥ 1
objects*
required

Remember to be consistent in using the same type of id for the request

relatedObjects
array of objects
required
relatedObjects*
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json