This API delete the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.
Parameters
Param Type
Name
Data Type
Required
Description
Path
PageId
String
True
The page ID of custom password instructions to delete.
Query
Locale
String
(optional)
The locale for the custom instructions, a BCP47 language tag. The default value is ""default"".
Return type
(empty response body)
Responses
Code
Description
Data Type
204
No content - indicates the request was successful but there is no content to be returned in the response.
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
$PageId="change-password:enter-password"# String | The page ID of custom password instructions to delete.$Locale="MyLocale"# String | The locale for the custom instructions, a BCP47 language tag. The default value is \""default\"". (optional)# Delete Custom Password Instructions by page IDtry{Remove-BetaCustomPasswordInstructions-BetaPageId$PageId# Below is a request that includes all optional parameters# Remove-BetaCustomPasswordInstructions -BetaPageId $PageId -BetaLocale $Locale }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Remove-BetaCustomPasswordInstructions"Write-Host$_.ErrorDetails}
Client Error - Returned if the request body is invalid.
ErrorResponseDto
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
$PageId="change-password:enter-password"# String | The page ID of custom password instructions to query.$Locale="MyLocale"# String | The locale for the custom instructions, a BCP47 language tag. The default value is \""default\"". (optional)# Get Custom Password Instructions by Page IDtry{Get-BetaCustomPasswordInstructions-BetaPageId$PageId# Below is a request that includes all optional parameters# Get-BetaCustomPasswordInstructions -BetaPageId $PageId -BetaLocale $Locale }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Get-BetaCustomPasswordInstructions"Write-Host$_.ErrorDetails}