Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Removes the specified public key from the user.
See: Cloud User Accounts API Reference for clouduseraccounts.users.removePublicKey
.
- type UsersRemovePublicKeyResource = "clouduseraccounts" :> ("beta" :> ("projects" :> (Capture "project" Text :> ("global" :> ("users" :> (Capture "user" Text :> ("removePublicKey" :> (QueryParam "fingerprint" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))))
- usersRemovePublicKey :: Text -> Text -> Text -> UsersRemovePublicKey
- data UsersRemovePublicKey
- urpkProject :: Lens' UsersRemovePublicKey Text
- urpkFingerprint :: Lens' UsersRemovePublicKey Text
- urpkUser :: Lens' UsersRemovePublicKey Text
REST Resource
type UsersRemovePublicKeyResource = "clouduseraccounts" :> ("beta" :> ("projects" :> (Capture "project" Text :> ("global" :> ("users" :> (Capture "user" Text :> ("removePublicKey" :> (QueryParam "fingerprint" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))))) Source #
A resource alias for clouduseraccounts.users.removePublicKey
method which the
UsersRemovePublicKey
request conforms to.
Creating a Request
Creates a value of UsersRemovePublicKey
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersRemovePublicKey Source #
Removes the specified public key from the user.
See: usersRemovePublicKey
smart constructor.
Request Lenses
urpkProject :: Lens' UsersRemovePublicKey Text Source #
Project ID for this request.
urpkFingerprint :: Lens' UsersRemovePublicKey Text Source #
The fingerprint of the public key to delete. Public keys are identified by their fingerprint, which is defined by RFC4716 to be the MD5 digest of the public key.