# Notice of breaking changes: Security manager REST API will be retired and replaced with the organization roles REST API

DevFeed: [Notice of breaking changes: Security manager REST API will be retired and replaced with the organization roles REST API](<https://devfeed.tech/articles/notice-of-breaking-changes-security-manager-rest-api-will-be-retired-and-replaced-with-the-organization-roles-rest-api-72844.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2024-12-10-notice-of-breaking-changes-security-manager-rest-api-will-be-retired-and-replaced-with-the-organization-roles-rest-api>)

Author: Allison

Published: 2024-12-10T20:56:42Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [REST API](<https://devfeed.tech/topics/rest-api.md>), [deprecated](<https://devfeed.tech/topics/deprecated.md>), [rbac](<https://devfeed.tech/topics/rbac.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [about](<https://devfeed.tech/tags/about.md>), [actions](<https://devfeed.tech/tags/actions.md>), [api](<https://devfeed.tech/tags/api.md>), [can](<https://devfeed.tech/tags/can.md>), [capabilities](<https://devfeed.tech/tags/capabilities.md>), [changes](<https://devfeed.tech/tags/changes.md>), [control](<https://devfeed.tech/tags/control.md>), [delete](<https://devfeed.tech/tags/delete.md>), [enterprise](<https://devfeed.tech/tags/enterprise.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [flexibility](<https://devfeed.tech/tags/flexibility.md>), [manager](<https://devfeed.tech/tags/manager.md>), [organization](<https://devfeed.tech/tags/organization.md>), [rest](<https://devfeed.tech/tags/rest.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [retired](<https://devfeed.tech/tags/retired.md>), [roles](<https://devfeed.tech/tags/roles.md>), [security](<https://devfeed.tech/tags/security.md>), [with](<https://devfeed.tech/tags/with.md>)

## AI overview

The security manager REST API endpoints for listing, assigning, and removing teams will be retired in 12 months: on GitHub.com by 2025-12-31 and on GitHub Enterprise Server in version 3.20. The organization roles API provides replacements: GET /orgs/{org}/roles to list roles, then GET, PUT, or DELETE /orgs/{org}/roles/{role_id}/teams[/{team_slug}] to view or manage team assignments. Migration can begin now on GitHub.com; Enterprise Server supports the security manager role through this API starting in version 3.16.

## Source excerpt

As part of our ongoing efforts to improve flexibility and control for managing the security manager role, we are retiring the security manager API and replacing it with the more...