curl --request PUT \
--url https://api.alpha-1edtech.ai/ims/oneroster/resources/v1p2/resources/{sourcedId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resource": {
"metadata": {
"fail_fast": {
"consecutive_failures": 3,
"stagnation_limit": 5
}
},
"title": "<string>",
"roles": [
"primary"
],
"importance": "primary",
"vendorResourceId": "<string>",
"vendorId": "<string>",
"applicationId": "<string>"
}
}
'{}To update an existing resource. The sourcedId for the record to be updated is supplied by the requesting system.
curl --request PUT \
--url https://api.alpha-1edtech.ai/ims/oneroster/resources/v1p2/resources/{sourcedId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resource": {
"metadata": {
"fail_fast": {
"consecutive_failures": 3,
"stagnation_limit": 5
}
},
"title": "<string>",
"roles": [
"primary"
],
"importance": "primary",
"vendorResourceId": "<string>",
"vendorId": "<string>",
"applicationId": "<string>"
}
}
'{}The access token received from the authorization server in the OAuth 2.0 flow.
The sourcedId of the resource to update
Show child attributes
Resource successfully updated
The response is of type object.