mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-11 04:19:42 +00:00
49 lines
11 KiB
Plaintext
49 lines
11 KiB
Plaintext
---
|
|
id: get-profile
|
|
sidebar_label: Find profile by id
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJy1V21v2kgQ/isrf7qTMGBekhTpPuTU9MSpbaK83JcKocEeYFuz6+6ukyDk/34zaxswkDQ56aQo2LOzM8+8jzeBztCAk1qNk2AULNDdGD2XKQatIEEbG5nxIR19kioRWXkoZmshE2JxsLDB6FtQ0W0waQUZGFihQ8Mnm0DRC1337JIFZeCWR9LHH4WeC7dEoWffMXbCaWHQGYmP2BJ5loCjX21EginJpvsGf+bSIKF2JsdWYOMlriAYbQK3zlijpdtqQZxzbVbgiJLnHgU+wypLmSXqDc6Si1k/hLj3IRx0o2F4EQ0HYYIwGPQHcN6fQ1AUE9ZmM60sWUgKet0u/zQtuHrOCDcmomZlE0A8QiqZ9jNH60h5rJVD5fg+ZFkqY+/8znfLQjbHVpTuoIvkYgqVkyWEyuG/ZiSL3+ASg5Bcq3RdO7Np2v02LFaMPzY82O/Pu+e9JAmj/mwQDiKMwguEbhidzXsw/DAbnscXQdEK8tM4VlJ9RrWghBj1e/QKz/uvb0f1cACrcs8DaSXlZQoeaz+UJ62gP05CvlEnZCWr3VBQVYn4yqKLVq1wyiqmb/P5y9p3xVDXG8tqEGaYarUgdv2fwmEduNyeQokqX3FFX8ZOPnKdjRXUj9dKfEbwj/doKHZUlAmX/MumlIoOzGlArhQRKJlMiYE41GL6a4AZqqSkZGAt+xdk+joY8mutgIG9jquWT8BiSkSydAru1bhyjwqdXB33Tk5VPhVAPZQ5GrF8AisqFQ0EvW6vH0ZR2Ivuo8Go1x8NB+3e8CzsDkfUgLiofFv8X3FVKt6HCxxhmOUO7an+BEkiWT+kN41O1cRfHGK93AolkOCqCuAm6zjEp6qUZOKzm27hTH0X8skvY8Fn7BGy74ilG3WiYYcM7Qa72rY0euJjcY1WQD0sT50k9dN3XGvdIc2FRDRolLmmSarGhxejzUuCHyyaIzDvuVej2RFKKDvBRUHhcdLtt8Kwx2R/Mjg1H/+ERNyWY1CEIlcwS/2IjDUHy/nIvXk4aoXXc79eHGZXjWqs/OT9m68WrZf5/mEur+bKGE07SzEpjRieMmJM+AxlrrhD80je8HfIHFpVcqNo+GtFpi2pnFJ6wecY/U37LuNeH+jIKo+RXYoVWgsLKmhPn3GT42ou+ffr904bsxZW05K2ZK4nQiWejOaqq0PIZ7raCH2L5ZkcdOo9r7ORSUF0691QLnq5SYll6VxmR53OhmwF5ThdiraieJFyvUZsU7w7kEm6/AhGchaU1b9lL22bA6UuyYN4Rdl43Lk8ezmnqf3LBTufsym3jgwzbMmE8cW5kW7tAc4QDJrLnE35Ntk/vmPflzj2mbahYKOCasXk95KJKOXDp7rT3usfqAgG/f9jrXNTPgbsUKnmmiWyu0oTona33d3LxK9Xt1/E5c34ZJeuD0UMilqfyG1pL8Qxhd3375VO5Hwt2KuaRhutoYSAToVUwoNB9SgpyisKN+cjZSDSmsqgqh39y/jeY820dStQeycnl/8Gys0uv1/4VChdyV23k6UglZ9gnDObKr32PiNawUj6zWJJUPhks5mBxQeTFgWTqY0YDupkl0U+xIm0/EyJO4fUHq6M+xh/u62+H34X7//2OGlLRQS19rmd5vxGjz9wXX7/UGchg2inpdRhsOXBZcxNYu/KUXPgTN3W419XHKN/ASH1rXY=
|
|
sidebar_class_name: "get 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 'Find profile by id' (get-profile)"
|
|
---
|
|
|
|
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"}>Find profile by id</h1>
|
|
|
|
<MethodEndpoint method={"get"} path={"/profiles/{id}"}></MethodEndpoint>
|
|
|
|
|
|
|
|
Find profile by id
|
|
|
|
## Request
|
|
|
|
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Path Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"name":"id","in":"path","description":"ID of the object to retrieve, update, or delete","required":true,"schema":{"type":"string","format":"uuid","example":"1246d8b3-ac29-4015-8154-dea4434a73fa"}}}></ParamsItem></ul></div></details><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"}>profile</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"type":"string","format":"uuid","readOnly":true,"description":"The objects ID","example":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8"}}></SchemaItem><SchemaItem collapsible={false} name={"uid"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** `>= 32 characters` and `<= 32 characters`"} schema={{"type":"string","minLength":32,"maxLength":32,"readOnly":true,"description":"The objects UID","example":"profileUid"}}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"This is the name of the profile.","example":"Profile Name"}}></SchemaItem><SchemaItem collapsible={false} name={"profile_type_id"} required={false} schemaName={"uuid"} qualifierMessage={undefined} schema={{"type":"string","format":"uuid","description":"This is the ID of the profile type the profile belongs to","example":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8"}}></SchemaItem><SchemaItem collapsible={false} name={"status"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`Active`, `Inactive`, `On Leave`, `Terminated`]"} schema={{"type":"string","enum":["Active","Inactive","On Leave","Terminated"],"description":"This is the status of the profile","example":"Active"}}></SchemaItem><SchemaItem collapsible={false} name={"id_proofing_status"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`pending`, `pass`, `fail`]"} schema={{"type":"string","enum":["pending","pass","fail"],"description":"This is the ID proofing staus of the profile","example":"pending"}}></SchemaItem><SchemaItem collapsible={false} name={"created_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"type":"string","format":"date-time","description":"The date and time the profile was created","example":"2023-11-21T14:23:54.256-05:00"}}></SchemaItem><SchemaItem collapsible={false} name={"updated_at"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"type":"string","format":"date-time","description":"The date and time the profile was updated","example":"2023-11-21T14:23:54.256-05:00"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>attributes</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>
|
|
|
|
Attributes that belong to this profile.
|
|
|
|
</div><SchemaItem name={"property name*"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}} collapsible={false} discriminator={false}></SchemaItem></div></details></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"profile\": {\n \"id\": \"33f072dd-13b4-41e1-8ea0-16f2a59b57c8\",\n \"uid\": \"profileUid\",\n \"name\": \"Profile Name\",\n \"profile_type_id\": \"33f072dd-13b4-41e1-8ea0-16f2a59b57c8\",\n \"status\": \"Active\",\n \"id_proofing_status\": \"pending\",\n \"created_at\": \"2023-11-21T14:23:54.256-05:00\",\n \"updated_at\": \"2023-11-21T14:23:54.256-05:00\",\n \"attributes\": {\n \"text_attribute_uid\": \"static text\",\n \"date_attribute_uid\": \"01/15/2020\",\n \"profile_select_attribute_uid\": \"Profile Name\",\n \"multiple_profile_select_attribute_uid\": \"Profile Name,Second Profile Name,Third Profile Name\",\n \"contributor_select_attribute_uid\": \"User Name\",\n \"multiple_contributor_select_attribute_uid\": \"User Name,Second User Name,Third User Name\"\n }\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> |