Remove-ITGluePassword

SYNOPSIS

Deletes one or more passwords

SYNTAX

Destroy (Default)

Remove-ITGluePassword -ID <Int64> [-WhatIf] [-Confirm] [<CommonParameters>]

Bulk_Destroy

Remove-ITGluePassword [-ID <Int64>] [-OrganizationID <Int64>] [-FilterID <Int64>] [-FilterName <String>]
 [-FilterOrganizationID <Int64>] [-FilterPasswordCategoryID <Int64>] [-FilterUrl <String>]
 [-FilterCachedResourceName <String>] [-FilterArchived <String>] -Data <Object> [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

The Remove-ITGluePassword cmdlet destroys one or more passwords specified by ID

Examples of JSON objects can be found under ITGlues developer documentation https://api.itglue.com/developer

EXAMPLES

EXAMPLE 1

Remove-ITGluePassword -id 8675309

Deletes the defined password

PARAMETERS

-ID

Delete a password by id

Type: Int64
Parameter Sets: Destroy
Aliases:

Required: True
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Type: Int64
Parameter Sets: Bulk_Destroy
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-OrganizationID

A valid organization Id in your account

Type: Int64
Parameter Sets: Bulk_Destroy
Aliases: org_id, organization_id

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-FilterID

Filter by password id

Type: Int64
Parameter Sets: Bulk_Destroy
Aliases: filter_id

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-FilterName

Filter by password name

Type: String
Parameter Sets: Bulk_Destroy
Aliases: filter_name

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FilterOrganizationID

Filter for passwords by organization id

Type: Int64
Parameter Sets: Bulk_Destroy
Aliases: filter_organization_id

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-FilterPasswordCategoryID

Filter by passwords category id

Type: Int64
Parameter Sets: Bulk_Destroy
Aliases: filter_password_category_id

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-FilterUrl

Filter by password url

Type: String
Parameter Sets: Bulk_Destroy
Aliases: filter_url

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FilterCachedResourceName

Filter by a passwords cached resource name

Type: String
Parameter Sets: Bulk_Destroy
Aliases: filter_cached_resource_name

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FilterArchived

Filter for archived

Allowed values: (case-sensitive) ‘true’, ‘false’, ‘0’, ‘1’

Type: String
Parameter Sets: Bulk_Destroy
Aliases: filter_archived

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Data

JSON object or array depending on bulk changes or not

Type: Object
Parameter Sets: Bulk_Destroy
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

N/A

https://celerium.github.io/ITGlue-PowerShellWrapper/site/Passwords/Remove-ITGluePassword.html

https://api.itglue.com/developer/#passwords-destroy