All URIs are relative to https://sailpoint.api.identitynow.com/v3
Method | HTTP request | Description |
---|---|---|
CreateBrandingItem | Post /brandings | Create a branding item |
DeleteBranding | Delete /brandings/{name} | Delete a branding item |
GetBranding | Get /brandings/{name} | Get a branding item |
GetBrandingList | Get /brandings | List of branding items |
SetBrandingItem | Put /brandings/{name} | Update a branding item |
BrandingItem CreateBrandingItem(ctx).Name(name).ProductName(productName).ActionButtonColor(actionButtonColor).ActiveLinkColor(activeLinkColor).NavigationColor(navigationColor).EmailFromAddress(emailFromAddress).LoginInformationalMessage(loginInformationalMessage).FileStandard(fileStandard).Execute()
Create a branding item
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
)
func main() {
name := "name_example" // string | name of branding item
productName := "productName_example" // string | product name
actionButtonColor := "actionButtonColor_example" // string | hex value of color for action button (optional)
activeLinkColor := "activeLinkColor_example" // string | hex value of color for link (optional)
navigationColor := "navigationColor_example" // string | hex value of color for navigation bar (optional)
emailFromAddress := "emailFromAddress_example" // string | email from address (optional)
loginInformationalMessage := "loginInformationalMessage_example" // string | login information message (optional)
fileStandard := os.NewFile(1234, "some_file") // *os.File | png file with logo (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BrandingAPI.CreateBrandingItem(context.Background()).Name(name).ProductName(productName).ActionButtonColor(actionButtonColor).ActiveLinkColor(activeLinkColor).NavigationColor(navigationColor).EmailFromAddress(emailFromAddress).LoginInformationalMessage(loginInformationalMessage).FileStandard(fileStandard).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BrandingAPI.CreateBrandingItem``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateBrandingItem`: BrandingItem
fmt.Fprintf(os.Stdout, "Response from `BrandingAPI.CreateBrandingItem`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateBrandingItemRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | name of branding item | |
productName | string | product name | |
actionButtonColor | string | hex value of color for action button | |
activeLinkColor | string | hex value of color for link | |
navigationColor | string | hex value of color for navigation bar | |
emailFromAddress | string | email from address | |
loginInformationalMessage | string | login information message | |
fileStandard | *os.File | png file with logo |
UserContextAuth, UserContextAuth
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteBranding(ctx, name).Execute()
Delete a branding item
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
)
func main() {
name := "default" // string | The name of the branding item to be deleted
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.BrandingAPI.DeleteBranding(context.Background(), name).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BrandingAPI.DeleteBranding``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string | The name of the branding item to be deleted |
Other parameters are passed through a pointer to a apiDeleteBrandingRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
UserContextAuth, UserContextAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BrandingItem GetBranding(ctx, name).Execute()
Get a branding item
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
)
func main() {
name := "default" // string | The name of the branding item to be retrieved
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BrandingAPI.GetBranding(context.Background(), name).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BrandingAPI.GetBranding``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetBranding`: BrandingItem
fmt.Fprintf(os.Stdout, "Response from `BrandingAPI.GetBranding`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string | The name of the branding item to be retrieved |
Other parameters are passed through a pointer to a apiGetBrandingRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
UserContextAuth, UserContextAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]BrandingItem GetBrandingList(ctx).Execute()
List of branding items
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BrandingAPI.GetBrandingList(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BrandingAPI.GetBrandingList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetBrandingList`: []BrandingItem
fmt.Fprintf(os.Stdout, "Response from `BrandingAPI.GetBrandingList`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetBrandingListRequest struct via the builder pattern
UserContextAuth, UserContextAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BrandingItem SetBrandingItem(ctx, name).Name2(name2).ProductName(productName).ActionButtonColor(actionButtonColor).ActiveLinkColor(activeLinkColor).NavigationColor(navigationColor).EmailFromAddress(emailFromAddress).LoginInformationalMessage(loginInformationalMessage).FileStandard(fileStandard).Execute()
Update a branding item
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
)
func main() {
name := "default" // string | The name of the branding item to be retrieved
name2 := "name_example" // string | name of branding item
productName := "productName_example" // string | product name
actionButtonColor := "actionButtonColor_example" // string | hex value of color for action button (optional)
activeLinkColor := "activeLinkColor_example" // string | hex value of color for link (optional)
navigationColor := "navigationColor_example" // string | hex value of color for navigation bar (optional)
emailFromAddress := "emailFromAddress_example" // string | email from address (optional)
loginInformationalMessage := "loginInformationalMessage_example" // string | login information message (optional)
fileStandard := os.NewFile(1234, "some_file") // *os.File | png file with logo (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BrandingAPI.SetBrandingItem(context.Background(), name).Name2(name2).ProductName(productName).ActionButtonColor(actionButtonColor).ActiveLinkColor(activeLinkColor).NavigationColor(navigationColor).EmailFromAddress(emailFromAddress).LoginInformationalMessage(loginInformationalMessage).FileStandard(fileStandard).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BrandingAPI.SetBrandingItem``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SetBrandingItem`: BrandingItem
fmt.Fprintf(os.Stdout, "Response from `BrandingAPI.SetBrandingItem`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string | The name of the branding item to be retrieved |
Other parameters are passed through a pointer to a apiSetBrandingItemRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
name2 | string | name of branding item | productName | string | product name | actionButtonColor | string | hex value of color for action button | activeLinkColor | string | hex value of color for link | navigationColor | string | hex value of color for navigation bar | emailFromAddress | string | email from address | loginInformationalMessage | string | login information message | fileStandard | *os.File | png file with logo |
UserContextAuth, UserContextAuth
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]