﻿# Users and Teams

You can use the REST API to create and manage your Octopus [Users and Teams](/docs/security/users-and-teams). Typical tasks can include:

- [Add Azure Active Directory login to users](/docs/octopus-rest-api/examples/users-and-teams/add-azure-ad-to-users)
- [Add domain teams](/docs/octopus-rest-api/examples/users-and-teams/add-domain-teams)
- [Add an environment to a team](/docs/octopus-rest-api/examples/users-and-teams/add-environment-to-team)
- [Change users domain](/docs/octopus-rest-api/examples/users-and-teams/change-users-domain)
- [Create an API Key](/docs/octopus-rest-api/examples/users-and-teams/create-api-key)
- [Find teams with role](/docs/octopus-rest-api/examples/users-and-teams/find-teams-with-role)
- [List users with editing roles](/docs/octopus-rest-api/examples/users-and-teams/list-users-with-editing-roles)
- [List users with role](/docs/octopus-rest-api/examples/users-and-teams/list-users-with-role)
- [List users](/docs/octopus-rest-api/examples/users-and-teams/list-users)
- [Remove a project from team](/docs/octopus-rest-api/examples/users-and-teams/remove-project-from-team)
- [Swap AD group with LDAP group](/docs/octopus-rest-api/examples/users-and-teams/swap-ad-domain-group-with-ldap-group)
- [Change users AD domain to LDAP](/docs/octopus-rest-api/examples/users-and-teams/swap-users-ad-domain-to-ldap)
