---
title: "Remove a SAML SSO authorization for an organization"
method: DELETE
path: "/orgs/{org}/credential-authorizations/{credential_id}"
tags: ["orgs"]
---

# Remove a SAML SSO authorization for an organization

`DELETE /orgs/{org}/credential-authorizations/{credential_id}`

Removes a credential authorization for an organization that uses SAML SSO. The credential can be a personal access token, an SSH key, an OAuth app access token, or a user-to-server token from a GitHub App. Once you remove someone's credential authorization, they will need to authorize the credential again for the organization they want to access.

The authenticated user must be an organization owner to use this endpoint.

OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

## Path parameters

- `org` string, required
- `credential_id` integer, required

## Response `204`

Response

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/ghec.md) · [All operations](https://skmtc.net/github/apis/ghec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/ghec/revisions/8ae6d0c8716e/schema)
