PATCH /school/v1/users not working for email address
Hi all,
This PATCH request to /school/v1/users seems to have no effect:
{ "id": 12345, "email": “ida.honeycrisp@example.com” }
(Values are examples.)
Before the request, user 12345's email was blank. After the request, it's still blank. I checked it here:
- /school/v1/users/12345
- /school/v1/users/extended/12345
- The web portal
The email address is still blank in all those places.
However, the API returns status code 200 (OK) and the user's ID in the response body. From the docs for that endpoint (below), it sounds like that should mean all went well.
What am I missing?
Comments
-
@Eric Eskildsen
I just tried it for our demo environment and it worked as expected. So, my guess would be permissions, even down to the specific field, maybe. The checks for a lot of that happens outside of the control of the API code (we call the same routes used by the UI), so a 200 would likely result in that case.My call jfyi:
PATCH https://api.sky.blackbaud.com/school/v1/users HTTP/1.1
Content-Type: application/json
Cache-Control: no-cache
Bb-Api-Subscription-Key: •••••etc.
Authorization: ••••••etc.{
"email": "jojo@example.com",
"id": 7901666
}0 -
Thanks for the quick reply. The authenticated user has the SKY API Data Sync role….Are there others it needs for the email field?
0 -
@Eric Eskildsen
I've looked into this. It looks like the SKY API Data Sync role (though it can call the endpoint) doesn't have rights for the edit actions. You will need Platform manager or Contact card manager.
We'll update the docs to reflect this as well. Thanks for bringing that to our attention.0 -
@Stephen Boyle
Thanks Stephen!0
Categories
- All Categories
- 6 Blackbaud Community Help
- 209 bbcon®
- 1.4K Blackbaud Altru®
- 395 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 359 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 564 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 243 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 779 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)

