cURL
curl --request PATCH \ --url https://api.scholarlysoftware.com/api/v1/campuses/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/vnd.api+json' \ --data ' { "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "campus", "attributes": { "name": "Main Campus", "external_id": "CAMPUS-001" }, "relationships": {} } } '
{ "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "campus", "attributes": { "created_at": "<string>", "updated_at": "<string>", "name": "Main Campus", "external_id": "CAMPUS-001" }, "relationships": {} } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Bearer token
Show child attributes
campus updated