Files
authentik/website/docs/developer-docs/api/reference/sources-all-set-icon-url-create.api.mdx
Tana M Berry 7a6d44d0df first pass
2024-10-22 15:10:13 -05:00

242 lines
7.0 KiB
Plaintext

---
id: sources-all-set-icon-url-create
title: "sources_all_set_icon_url_create"
description: "Set source icon (as URL)"
sidebar_label: "sources_all_set_icon_url_create"
hide_title: true
hide_table_of_contents: true
api: eJytVN9P2zAQ/lcsP4GUNazwMPVpgLqpEmyowBOqKic5ElPX9myH0VX533fnJDTQjqe9JP5xvrvvu+9uy40FJ4I0elbwCfemdjn4pVBq6SEsZW70snZqmTsQAXjCC/C5k5ZeoP0tBNa+YWTKjoRn9/OrYzS0wok1BHCeTx62XJK5FaHCK40XFEzVJe58XsFa8MmWh42N58FJXe7Fmml0poXqA5KXhNUeCiY1RfUj3iTcwa9aOkA0wdXQLBIeREk59OD4ojUCHy5MsaHAmHoAHWgprFUyj4ykT54Cb/czNNkT5OEAG04KJf+AY8Gw2iojCvYoFfFmHTEdJMZHP0jpIcBrqa9Al0jS5HPzBstDfEJgZFD05hu6vUE65y0S3jT72JFbyGsnwyaWQNShQpRyhbtFE1nw1mjfpjQ+OaHfO0R1jox54vXs0P0FAnR9BmRz+h/p/A4aCc3Z+c2MTZ0zbo/GAoKQB5jEVHJTwIGLd6R2Dga8dkHbeJHUt0lFF6jrylC/WOND1DqVjKedwlJsn3RL8m7SYRelpHZwz31PRBXwVFiZPp+mnErSF+yWOGpBDsr2CqcKwfatQ/sMhAMXcyOW5zt5T1/E2ip4Fd2AIqkfTfTZQd8FSjjl2AIen4zPRl9G473yXIsVOmL9q7bIzEsKN+JJVIHIowqw3FQmXoFS5mtpXiONpKFMUCKAOiTTbjZcz+7QRZsxgfWTNC1lqOpslJt1OnCR7laZMlmKoXR6Nbuc/ridRkKoRmuhB867MjEsE8P6tKMLY7HDU24g6I8GXleaAC8htQqzIGRdo7cC2Y2ghGNs/E76GThQCW5JkBVJC59st5nwcO9U09AxFtZRO+PyWeC4yah0qKVCelqjKB+F8vABhKN51wDH7F9Zd4dCb0gKQtW0w+UKNv3cbhZoV4EoUHYUv726bKN8uiMHu6d7U6BJ+hfnOGBs+NB2MWi4m5+3JIysG9zr2OXcid94SN+YpomoY/PEsy1XQpe1KMm29UnCIOEMeqrroaRfEKqDRGBFosWdWYHGqvS8BNoTMU3zFxQvhI0=
sidebar_class_name: "post api-method"
info_path: docs/developer-docs/api/reference/authentik
custom_edit_url: null
hide_send_button: true
---
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 Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"sources_all_set_icon_url_create"}
>
</Heading>
<MethodEndpoint
method={"post"}
path={"/sources/all/{slug}/set_icon_url/"}
>
</MethodEndpoint>
Set source icon (as URL)
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<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={{"in":"path","name":"slug","schema":{"type":"string","description":"Internal source name, used in URLs."},"required":true}}
>
</ParamsItem>
</ul>
</div>
</details><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={false}
name={"url"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `non-empty`"}
schema={{"type":"string","minLength":1}}
>
</SchemaItem>
</ul>
</details>
</TabItem>
</MimeTabs><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<div>
Success
</div><div>
</div>
</TabItem><TabItem
label={"400"}
value={"400"}
>
<div>
Bad request
</div><div>
</div>
</TabItem><TabItem
label={"403"}
value={"403"}
>
<div>
</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={"detail"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"detail\": \"string\",\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem>
</ApiTabs>
</div>
</div>