Skip to main content
PUT
/
ims
/
oneroster
/
resources
/
v1p2
/
resources
/
{sourcedId}
Update an existing Resource
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>"
  }
}
'
{}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

sourcedId
string
required

The sourcedId of the resource to update

Body

application/json
resource
object
required

Response

Resource successfully updated

The response is of type object.