Skip to main content

Get Custom Password Instructions by Page ID

GET 

https://sailpoint.api.identitynow.com/beta/custom-password-instructions/:pageId

This API returns the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API.

Request

Path Parameters

    pageId stringrequired

    Possible values: [change-password:enter-password, change-password:finish, flow-selection:select, forget-username:user-email, mfa:enter-code, mfa:enter-kba, mfa:select, reset-password:enter-password, reset-password:enter-username, reset-password:finish, unlock-account:enter-username, unlock-account:finish]

    The page ID of custom password instructions to query.

    Example: mfa:select

Query Parameters

    locale string

    The locale for the custom instructions, a BCP47 language tag. The default value is "default".

Responses

Reference to the custom password instructions.

Schema
    pageIdstring

    The page ID that represents the page for forget user name, reset password and unlock account flow.

    Possible values: [change-password:enter-password, change-password:finish, flow-selection:select, forget-username:user-email, mfa:enter-code, mfa:enter-kba, mfa:select, reset-password:enter-password, reset-password:enter-username, reset-password:finish, unlock-account:enter-username, unlock-account:finish]

    Example: change-password:enter-password
    pageContentstring

    The custom instructions for the specified page. Allow basic HTML format and maximum length is 1000 characters. The custom instructions will be sanitized to avoid attacks. If the customization text includes a link, like <A HREF=\"URL\">...</A> clicking on this will open the link on the current browser page. If you want your link to be redirected to a different page, please redirect it to "_blank" like this: <a href=\"URL" target=\"_blank\" >link</a>. This will open a new tab when the link is clicked. Notice we're only supporting _blank as the redirection target.

    Example: Please enter a new password. Your password must be at least 8 characters long and contain at least one number and one letter.
    localestring

    The locale for the custom instructions, a BCP47 language tag. The default value is "default".

    Example: en

Authorization: oauth2

type: Personal Access Token
scopes: sp:scopes:all
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://sailpoint.api.identitynow.com/beta/custom-password-instructions/:pageId"
method := "GET"

client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Accept", "application/json")
req.Header.Add("Authorization", "Bearer <TOKEN>")

res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()

body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
Request Collapse all
Base URL
https://sailpoint.api.identitynow.com/beta
Auth
Parameters
— pathrequired
— query
ResponseClear

Click the Send API Request button above and see the response here!