Files
authentik/website/docs/developer-docs/api/reference/propertymappings-provider-scope-partial-update.api.mdx
Tana M Berry 7a6d44d0df first pass
2024-10-22 15:10:13 -05:00

494 lines
19 KiB
Plaintext

---
id: propertymappings-provider-scope-partial-update
title: "propertymappings_provider_scope_partial_update"
description: "ScopeMapping Viewset"
sidebar_label: "propertymappings_provider_scope_partial_update"
hide_title: true
hide_table_of_contents: true
api: eJztV21v4zYM/iuCv9wGZHHXuw9DPq3rFbcA113RlwOGIghkm4l1kSVPkpP6gvz3kZJdO69dgQLDgH1JJIukyIcPKWkd6RIMd0KrcRaNotLQ3NUFL0uh5naKH5YiAzO1Ka5MS26c4HJalRl3EA2iDGxqREkGUP2OhK6DLvsqYGXBoRBq8QIcGBuNHteRINGSuxyXFC7QrJhWlcjwg01zKHg0WkeuLmnJOoPWcGWmTcEdfvGSm929L9jDw/gjC+IMfVZOzGoau1xY5l1jjW9DNGfgr0oYwKidqWAzGUSOz8nBPRCiSZAG637TWU2+pVo53ICGKCRF6iGMv1lyZb0fhE6+QepO43UHBqEV38EQZMEHAZasFFzxObm6j4qqpOSJhBDGICqE+gxqjuCOfsaQhKOl6DoYYEnNeOVywmax580X76RFvLhj3AArDmgN2X0OFphuhEkuNYBsyBhXGQvMyEhBY7oQGSlrUsIczCSfM61kzYTKCDNoN1ONPZbiMEHrSzArIxyCTLsXYh5IaofsT115KeuElKzQGWYZrXQeLQX384ub8YAllWPwVHrTOVdz2lHv7iAU40yiO6Zxf0j0CtTcR7yPMIqhdQPWipD5F4RDFf0TywepwkiTNVwMiaFIUymIjLslsb/BtsmP3YzZXK8UQUP2KotIrDDfDHluKe1YMmw8YxJmCGdRunrQE9TqnSNIhaIShQzR23TUu+EOqyHrU/02BIBiJGghrTARte8NHTtHj5ONLzxbkhO+Ds7Pzv6F6isXL7cjcpRnX5DbbSE+x1+wtmG9ooz/L9y3LtwXShWXU10g1RpinS6dT+Aat99Z9qzHrA6wrIAtlF4xLCryGjLhepHukQX3xqASbY+3hu3tb8FVRnUebGm/YH1ayspw+fpNgt6Le+FBz6eYXZCvC0ZgTRvFPTNAsmPmT3fQ/3jP7O4kjz02bhF3H+CG8APqU1v47LDqMA0mXa/p98PIt+bt2AmsD2/agb9ix828KrsyRu+3XqXVdCZAZlOgddszyY3hNSoIB4U9UM++oLNDjQBXeIYlidtyedPfr3dsda4Fz47i8f4N8fgECo+hlDrgEUAyTL44ULwno+3TqjHQS3uz6YkwQ1XnOgv39jT3d3q6pkTx7mU5bl8MsWdivG6u9puYyAlm2b4CKiNJn5ciXr6PIzrr25vAHcEV4u3dB54jy50r25cCzRPAs8x4Nwnw2+6qfvXEi1LC1hW6d+aGt8fzvH88dF/7DedYV+iSQPXsXW3A7R/aFHqQPz87/zD8ZXi+Z+iaL+gy0moFGjErKAp6tBDPeOp5hoQiIkQ5SKl/nevuoBeaPEESAjYiX0XB+evxPZoIuBOGdhTHc+HyKhlis4l7JuJulEidxLiVij+PL6/+uLvyOJfaOkS0Z3yXB6zlAfMAsublyA6/HHsVdOwR2STfwZOLS4kOUZA+mHVDxgMvN18+3o02k/g/6l6bVAc5xkLK63XCLTwYudnQZySRoTspDpcc74b+coa8zYSlMTJpxqWFE4H8cNvU3Y/stY/Tg8G2jU9R21tyWdEMhwuoe0/ozQRFczw2MWbyN6xeBq9+uq89BK32XrPaDFqNizSF0p2UnfT6ws3F/eXvKJ00L+TCd6PI8BWd4vjrXdUeJl/Z/ts6kni3q7AycT0Y9e25onw+F3xT4IN2QGEdBANT6CXu9QIUprHFxtGckNls/gbNxPWp
sidebar_class_name: "patch 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={"propertymappings_provider_scope_partial_update"}
>
</Heading>
<MethodEndpoint
method={"patch"}
path={"/propertymappings/provider/scope/{pm_uuid}/"}
>
</MethodEndpoint>
ScopeMapping Viewset
<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":"pm_uuid","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Scope Mapping.","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>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"managed"}
required={false}
schemaName={"Managed by authentik (string)"}
qualifierMessage={"**Possible values:** `non-empty`"}
schema={{"type":"string","nullable":true,"minLength":1,"title":"Managed by authentik","description":"Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={false}
schemaName={"string"}
qualifierMessage={"**Possible values:** `non-empty`"}
schema={{"type":"string","minLength":1}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"expression"}
required={false}
schemaName={"string"}
qualifierMessage={"**Possible values:** `non-empty`"}
schema={{"type":"string","minLength":1}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"scope_name"}
required={false}
schemaName={"string"}
qualifierMessage={"**Possible values:** `non-empty`"}
schema={{"type":"string","minLength":1,"description":"Scope name requested by the client"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"description"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Description shown to the user when consenting. If left empty, the user won't be informed."}}
>
</SchemaItem>
</ul>
</details>
</TabItem>
</MimeTabs><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<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={"pk"}
required={true}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","readOnly":true,"title":"Pm uuid"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"managed"}
required={false}
schemaName={"Managed by authentik (string)"}
qualifierMessage={undefined}
schema={{"type":"string","nullable":true,"title":"Managed by authentik","description":"Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"expression"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"component"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Get object's component so that we know how to edit the object","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verbose_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return object's verbose_name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verbose_name_plural"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return object's plural verbose_name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"meta_model_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return internal model name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"scope_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Scope name requested by the client"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"description"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Description shown to the user when consenting. If left empty, the user won't be informed."}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"pk\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"managed\": \"string\",\n \"name\": \"string\",\n \"expression\": \"string\",\n \"component\": \"string\",\n \"verbose_name\": \"string\",\n \"verbose_name_plural\": \"string\",\n \"meta_model_name\": \"string\",\n \"scope_name\": \"string\",\n \"description\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"400"}
value={"400"}
>
<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={"non_field_errors"}
required={false}
schemaName={"string[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string"}}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
name={"property name*"}
required={false}
schemaName={"any"}
qualifierMessage={undefined}
schema={{"type":"object","description":"Validation Error","properties":{"non_field_errors":{"type":"array","items":{"type":"string"}},"code":{"type":"string"}},"additionalProperties":{},"title":"ValidationError"}}
collapsible={false}
discriminator={false}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"non_field_errors\": [\n \"string\"\n ],\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</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>