Recent directory-sync activity for an organization
/api/v1/organizations/{id}/directory/activityThe organization's own directory events (provisioning, group mapping, and changes to its connection, tokens and allowed roles), newest first
Authentication
Bearer Token
Authorization Option A JWT access token. Never send alongside X-API-Key: a request carrying both is refused.
API Key
X-API-Key Option B API key for management-tier access. Never send alongside an Authorization header: a request carrying both is refused.
Path Parameters
idstring Required Responses
application/json
items *ScimActivityResponseDto[]
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/api/v1/organizations/value/directory/activity" \ -H "X-API-Key: $CANOPY_API_KEY"
{ "items": [ { "id": "string", "action": "string", "actor_type": "scim", "actor_label": "string", "resource_type": "string", "resource_label": "string", "outcome": "success", "detail": "string", "created_at": "2026-04-20T12:00:00.000Z" } ] }
Tell us how we can improve this guide.