CalendarAccessGrant
Grants a specific person access to a Calendar whose access is restricted.
Only event administrators can read a calendar's grants.
curl https://api.planningcenteronline.com/calendar/v2/calendars/{calendar_id}/calendar_access_grants
View in API Explorer →
{
"type": "CalendarAccessGrant",
"id": "1",
"attributes": {
"created_at": "2000-01-01T12:00:00Z"
},
"relationships": {
"grantee": {
"data": {
"type": "Person",
"id": "1"
}
}
}
}
| Name |
Type |
Description |
created_at |
date_time |
When the person was granted access to the calendar
|
id |
primary_key |
|
| Name |
Type |
Association Type |
Note |
| grantee |
Person |
to_one |
|
| Parameter |
Value |
Description |
Assignable |
| include |
grantee |
include associated grantee
|
create and update |
| Name |
Parameter |
Type |
Description |
| per_page |
per_page |
integer |
how many records to return per page (min=1, max=100, default=25)
|
| offset |
offset |
integer |
get results from given offset
|
| HTTP Method |
Endpoint |
| GET |
/calendar/v2/calendars/{calendar_id}/calendar_access_grants |
Reading
| HTTP Method |
Endpoint |
| GET |
/calendar/v2/calendars/{calendar_id}/calendar_access_grants/{id} |
| HTTP Method |
Endpoint |
Returns |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/calendar/v2/calendars/{calendar_id}/calendar_access_grants/{calendar_access_grant_id}/grantee |
Person
|
|
|
| HTTP Method |
Endpoint |
Association |
Details |
Filter By |
| GET |
https://api.planningcenteronline.com/calendar/v2/calendars/{calendar_id}/calendar_access_grants |
Calendar
|
|
|