# catalog_enrollment_pathways_destroy Unenroll from a pathway. Deactivates enrollment. Endpoint: DELETE /api/catalog/enrollment/pathways/ Version: 3.59.0-ai-plus Security: PlatformApiKeyAuthentication ## Query parameters: - `active` (boolean) Whether the enrollment should be active - `include_default_platform` (boolean) Include enrollments from default platform - `include_metadata` (boolean) Include metadata in the response - `org` (string) Organization for the pathway - `pathway_id` (string) Pathway ID for enrollment - `pathway_key` (string) Pathway key for enrollment - `pathway_uuid` (string) Pathway UUID for enrollment - `platform_key` (string) Platform key for the pathway - `slug` (string) Pathway slug for enrollment - `user_id` (string) User ID for enrollment - `username` (string) Username for enrollment ## Response 200 fields (application/json): - `user_id` (integer) - `username` (string) - `pathway_id` (string) - `pathway_uuid` (string) - `platform_key` (string) - `org` (string) - `name` (string) - `slug` (string) - `created` (string,null) Date when enrollment began/activated - `ended` (string,null, required) Date when enrollment ended/deactivated - `active` (boolean) Whether the enrollment is active