Remove User from Organization

Remove a user from an organization in GitHub.


To use this action card in a flow, you must set up SAML support for your app in your GitHub instance. If SAML support is set up properly, then a user can be fully removed from an organization. If SAML support is not set up properly or is disabled, a user will be removed from an organization but SCIM data will remain. You must also be the owner of the organization.


Field Definition Type Required
Organization Organizations in GitHub. Dropdown FALSE


Field Definition Type Required
Username Username for the user; can be an login or username. String TRUE


Field Definition Type
Status Code Result of the operation. The HTTP status code is returned by the connector and indicates whether the action taken by the card succeeded or failed. For example:
  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request was not processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.


Related topics

GitHub connector

About the elements of Okta Workflows

GitHub API documentation