mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-11 04:19:42 +00:00
45 lines
9.4 KiB
Plaintext
45 lines
9.4 KiB
Plaintext
---
|
|
id: create-profile-page
|
|
sidebar_label: Create a profile page
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJztVttu2zgQ/RWCz75tmrgLA/uQtlnAC7QJErcvrVFQ0shiQ5FakrIjGP73zpCRpdhOirwWtQFbIs/czwy55aYCK7w0ep7xGU8tCA831uRSwY1YAR/wDFxqZUUYRLwPCCZYFUGsiigvVo7PvnJ6dXw54Bb+r8H5dyZr+GwbXqUFNOJtDQOeGu1Be9oSVaVkGpwY/3BkZctdWkAp6Mk3FaBdk/yA1KMhtIsue4lWcDdY/yWqllkP5LyVenUU2aIAhkBmcuaLfVzwIMpKkRgtfCdNuwPJvWIPD/6JCGWQ5cayjbH3uTKbk0Z7K0+Mox0tSjjleWfiY8OClU+EPKWdVByqFTYt5Br6SUmMUSB0X3culINDlR/Agy2lBsc2BaBSu9fMpGN7zTs046WPaejxaRc+RA9XGe1ifc4mE/p7aunqocJaQsZaKPMGebcWStJaYBf/Q6TfnkgDfjrpmI5SYN15TbkkRonsWqumnTDHEXQ1Idkn0Z/BZJr8/XY6zM8vpsPzt2+yYZJNL4bJ9PzNBUySaXJ2wOkw51o2n58i8DuRsdvIUzZktRaJChxODRn1MHoNe42G6xwH7DFDW4/mOrTGfyS6GzyP+0KoYObKWmMxiGUM4uJUEHP0z2qh2B3YNdYoyGA4FnxtNXYncq3WhdCZwhd4SCFIulcF93LTAZk89uySleAc0SWuJ0iLUNyI71f3zljbMGdK5BmhNugV21iDPNq1JaQ9Q2dgZcJcqYQv8G0cDrTx42n3PR5vA+5CNlwoSG0VAgvvKzcbj7cYstCe2mg30lg29ME0ACMs+1hUEoXXwkoiQ4iug8cQc1ErYrVIS0jNcScGeGxG4ZxcUQ2IVLXzGJ+lgJbkX1pb6ZvgYALCgr2sKaCvy/72HZUg+tEH7StCQVG0AUbNHUC4Eh/+bVtwYe5Boxv4+09jahsfQ8NQtW+7u8BVW5Ru5Iah2k3Fw4hPzb44zg5nVjeNwsQh61LnhmxQsaK6v0aT0aTXDp+ubj+yy5v5yZnXbrJUaJbgWHcx2yJNkXsMWc9Kk8m8YVRTUzs6rDB+3GVSs5AK0GuJVCuRc9QU2AaAhxk51UYxX4RMEfFKoXs7z122Dk6NfZ89fzvrzpVxpYSkCRF5u30kentzC83XozqSpaCGQMB2mwgHn63a7WgZS2qJX8uO0IFeKICTGFlC1LuHhtyKDg4X5AbBVU3uHA0FGltR4jKlQfIidtnr2ZvruwWx8vGyiTUhGSuIK/Q749/wiy8mTqdwI6X1LVdCr+rARB710ucnzNHTvg==
|
|
sidebar_class_name: "post api-method"
|
|
info_path: docs/api/nerm/v1/nerm-api
|
|
custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create a profile page' (create-profile-page)"
|
|
---
|
|
|
|
import ApiTabs from "@theme/ApiTabs";
|
|
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
|
|
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
|
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
|
|
import MimeTabs from "@theme/MimeTabs";
|
|
import ParamsItem from "@theme/ParamsItem";
|
|
import ResponseSamples from "@theme/ResponseSamples";
|
|
import SchemaItem from "@theme/SchemaItem";
|
|
import SchemaTabs from "@theme/SchemaTabs";
|
|
import TabItem from "@theme/TabItem";
|
|
|
|
<h1 className={"openapi__heading"}>Create a profile page</h1>
|
|
|
|
<MethodEndpoint method={"post"} path={"/pages/profile_pages"}></MethodEndpoint>
|
|
|
|
|
|
|
|
Create a profile page
|
|
|
|
## Request
|
|
|
|
<MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3><strong className={"openapi-schema__required"}>required</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>page</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"uid"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The uid of the page","example":"page_uid"}}></SchemaItem><SchemaItem collapsible={false} name={"description"} required={false} schemaName={"text"} qualifierMessage={undefined} schema={{"type":"text","example":"Page for workflow","description":"The description of the page"}}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"My Page Name","description":"The name of the page"}}></SchemaItem><SchemaItem collapsible={false} name={"archived"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","example":false,"description":"Determines whether the page is archived"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs><TabItem label={"200"} value={"200"}><div>
|
|
|
|
Expected response to a valid request
|
|
|
|
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>page</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"uid"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The uid of the page","example":"page_uid"}}></SchemaItem><SchemaItem collapsible={false} name={"description"} required={false} schemaName={"text"} qualifierMessage={undefined} schema={{"type":"text","example":"Page for workflow","description":"The description of the page"}}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"My Page Name","description":"The name of the page"}}></SchemaItem><SchemaItem collapsible={false} name={"archived"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","example":false,"description":"Determines whether the page is archived"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"type":"string","format":"uuid","readOnly":true,"description":"The id of the form","example":"2e06b876-f456-473d-bd65-b6435e0b6b2d"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"page\": {\n \"uid\": \"page_uid\",\n \"description\": \"Page for workflow\",\n \"name\": \"My Page Name\",\n \"archived\": false,\n \"id\": \"2e06b876-f456-473d-bd65-b6435e0b6b2d\"\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>
|
|
|
|
Bad Request - unable to complete.
|
|
|
|
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><div><span className={"badge badge--info"}>oneOf</span><SchemaTabs><TabItem label={"InvalidJson"} value={"0-item-properties"}><SchemaItem collapsible={false} name={"error"} required={false} schemaName={""} qualifierMessage={undefined} schema={{"example":"Invalid JSON syntax. Please check your syntax and try again."}}></SchemaItem></TabItem><TabItem label={"ValidationErrors"} value={"1-item-properties"}><SchemaItem collapsible={false} name={"error"} required={false} schemaName={""} qualifierMessage={undefined} schema={{"example":"The <object> failed to create/update"}}></SchemaItem><SchemaItem collapsible={false} name={"errors"} required={false} schemaName={""} qualifierMessage={undefined} schema={{"example":{"attribute":"can't be blank"}}}></SchemaItem></TabItem></SchemaTabs></div></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"500"} value={"500"}><div>
|
|
|
|
Internal Server Error - returned on unhandled exceptions.
|
|
|
|
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"error"} required={false} schemaName={""} qualifierMessage={undefined} schema={{"description":"A message describing the error","example":"Sorry something went wrong"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"error\": \"Sorry something went wrong\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div> |