Skip to main content
PATCH
/
api
/
v1
/
admin_assistant_roles
/
{id}
Update admin assistant role
curl --request PATCH \
  --url https://api.scholarlysoftware.com/api/v1/admin_assistant_roles/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "admin_assistant_role",
    "attributes": {
      "external_id": "AAR-001",
      "effective_from": "2023-12-25",
      "effective_to": "2023-12-25"
    },
    "relationships": {
      "admin_assistant": {
        "data": {
          "type": "user",
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      },
      "faculty_member": {
        "data": {
          "type": "user",
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      }
    }
  }
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer token

Path Parameters

id
string
required

Admin assistant role UUID

Body

application/vnd.api+json
data
object
required

Response

200

admin assistant role updated