I am using our LMS to create users via the Brightspace API, logged in as Super Admin. I can create LEARNER users (RoleID: 438) without issue, but when I try to create a PARENT-GUARDIAN user (RoleID: 443), I get a 403 Not Authorized error. I've used a number of API functions: course creation, course copy, org structure, and have not had any permission issues,
Since creating learner users is not an issue, there must be a permission setting in Brightspace I am missing, My OAuth app permissions for users users:userdata:create, delete
Route: $route = "https://hiddenurl.com/d2l/api/lp/1.35/users/";
JSON parameters: $payload = json_encode( array(
"OrgDefinedId" => $parent_org_id,
"FirstName" => $parent_first_name,
"MiddleName" => "",
"LastName" => $parent_last_name,
"ExternalEmail" => $parent_email,
"UserName" => $parent_username,
"RoleId" => 443,
"IsActive" => true,
"SendCreationEmail" => false,
"Pronouns" => null
));
Any ideas?