< Back

Remove-OneLoginUserCustomAttribute

Sat Jan 18, 2020 6:06 pm

NAME Remove-OneLoginUserCustomAttribute



SYNOPSIS

Removes a custom attribute from a OneLogin user.





SYNTAX

Remove-OneLoginUserCustomAttribute [<CommonParameters>]





DESCRIPTION

Removes a custom attribute from a OneLogin user.





PARAMETERS

-Identity <>

Specifies a OneLogin user who you'd like to modify.



Required? false

Position? named

Default value None

Accept pipeline input? false

Accept wildcard characters? false



-CustomAttributes <>

Specifies one or more custom attributes to remove. You can find a user's custom attributes with the

Get-OneLoginUser command, and you can find all available custom attributes in your account with

Get-OneLoginCustomAttribute.



Required? false

Position? named

Default value None

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

OneLoginUser







OUTPUTS



NOTES









---------- -------------- Example 1 -------------- ----------



Get-OneLoginUser -Identity 123456 | Remove-OneLoginUserCustomAttribute -CustomAttributes employeeType



This example shows how to remove a custom attribute for a OneLogin user. Note that you'll be prompted to confirm

that you'd like to take this action.

---------- -------------- Example 2 -------------- ----------



Get-OneLoginUser -Identity 123456 | Remove-OneLoginUserCustomAttribute -CustomAttributes employeeType



This example shows how to remove a custom attribute from a OneLogin user without being prompted for confirmation.



RELATED LINKS

OneLogin users https://developers.onelogin.com/api-doc ... r-resource

OneLogin custom attributes https://developers.onelogin.com/api-doc ... attributes