---
id: providers-rac-create
title: "providers_rac_create"
description: "RACProvider Viewset"
sidebar_label: "providers_rac_create"
hide_title: true
hide_table_of_contents: true
api: eJztWN9v2kgQ/ldWfrk7CXACCe1RnXS5JK0ipW2UpL2HKEJre4At613f7jqEIv73zqwNGGIIOfWuL31BxszOz2++mWUW6AwMd0KriyToBZnRDyIBY/uGx/3YAHcQNIIEbGxERmIodH1yelXKsc8CJhYcyjg+tEHvbqUiuG8EBv7Jwbq/dDINerMg1sqBcvTIs0yK2FsOv1jSOwtsPIKU05ObZoCWdPQFYrfTgRswgkvxFQyKoW0MxwmwpETxFCrKrDNCDVEqFeoS1NCNgt7hvBHw3I3QqdKZ/kDqSd2pgTYpR9eDPBcJfle5lDySKONMDpsuvkUtLLeQMDzH1k2wCX5h+IZxa3UsMMcJq+SDCct4HIOl49GUccVy1azowNeo2rSC0nttxNeXOb/NWe/ZQiUeRS/RmUVJvcEyx9N+ii6jiK3Y48bwKaoXDlL7vB9zVIfgcaUW/IYAUVhxCgUeM2Gmz9VvM5QzcGBQACwbYVBSYwycWcwlJVZy62yLncGA59IxPWAHLAWuLMbJnS9JKWoLWUy8E9L/EBmNSDdUnFhqTFaL/frWh9NDU7mxfzQP36Dl3AE+tt9YwGASfOz8RmlLQKJrfafHoPoYXiJsGWwlxEhrie48KdDfVBbMFHOaebSxVaKYV2nZREjJImCFIURIhr+trLR8tqkfhYGEGrUGOY2iZ7BxnXAE7WqrXRe9jHrWFJE/vo5xboTDgt3Nli01xm/3c88DFt2xRV+2Dw7/fzLIxhVVAi0PvRAyXPJRyemiixdxX5xR0eoZ5Cdn/GDOiHWKaCqxsym+7uY7bJoCOGx5illd9PsE2FhhGMQU2FmQiIIDlkhbRwdlDslhqCDpV1LftzIfPu/JBWLOKC7XqkYAaxRpFIp9ur60rb3Nbhtv62ZPVid+scQHmeRT9gHP7rYU8Xgcjzhyh/xRwW5z4T8J/AFMhKy+p/JrcLlRJVBQ/drpZ7T3M5kbLl9upDj3rK0UHO+nGufAy4IRi5r5s2yb+vWBrXOXaev6tAPu3dPzGrV7Tf6fs/7fzvqtBLKL0/btxX1po3byVOn8KXjLGbwOtAZN842Wre+x+k2mWGHW0051Ozo4+I6LyWfcRJKC+c6N0TX3E0qBAJn0gX5/wVAshmBSt5sQgSY4yNAsl1dVe/NVLlauFZ5tzUfnO+bjHShcz2J2cnWxJSEJFl/UEOPOaKswLxVUql4a3RFmwZgj7a+/iDDyitPdIgiXV9kQb8NhQNxnHuhmSztubiTJ8EyED50woC13sQPfUEaKkCqb8NL5kXMZKfNSxATAjQdlI6CcXq/uzOePPM0krC6zKyqs3UCDzoC/Ph50j5rHrw5fNY+Ou+1m1BnEzXb8e7cz6Hb5gHfr23DvszW73N1+Z+/3uO1VuX47iZYzQ6iB9nkti71KtmcDW5S4fdA+ar1utZ8A8j0f07q6sWhbQSlveV5SjhecjQAnYAYjkFL/OdRLSy2hCZ7YFMjL1UK9v7hFFQVIqOC2F4ZD4UZ51EK+CysqwtVTJHUUoikVXl6cnn+4OfegIFSmXFWUL4HJEJis/m+aSt9u+8emgKODRxficiQUReI9npUtUP03BzuNx/hJZRxRn+Cvs1nELXwycj6n14hbquEdPj5wvIn5mw5eAPEAjnuEOPXNGKjMp4VvzVvygcRl7iu4yS/zxuLECd5uMrdT9r7Sylcfb6gAUfnPU+r5A0OY+EAI7zRUfK58o/p3s0ByNcz5kGQLnfPyvlSd3EW/NhYPFNWCt9W04iGmx0vcEoYxRY0yFI9pdBeVfwPhMeBf
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={"providers_rac_create"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/providers/rac/"}
>
  
</MethodEndpoint>



RACProvider Viewset

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<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={"name"}
          required={true}
          schemaName={"string"}
          qualifierMessage={"**Possible values:** `non-empty`"}
          schema={{"type":"string","minLength":1}}
        >
          
        </SchemaItem><SchemaItem
          collapsible={false}
          name={"authentication_flow"}
          required={false}
          schemaName={"uuid"}
          qualifierMessage={undefined}
          schema={{"type":"string","format":"uuid","nullable":true,"description":"Flow used for authentication when the associated application is accessed by an un-authenticated user."}}
        >
          
        </SchemaItem><SchemaItem
          collapsible={false}
          name={"authorization_flow"}
          required={true}
          schemaName={"uuid"}
          qualifierMessage={undefined}
          schema={{"type":"string","format":"uuid","description":"Flow used when authorizing this provider."}}
        >
          
        </SchemaItem><SchemaItem
          collapsible={false}
          name={"property_mappings"}
          required={false}
          schemaName={"uuid[]"}
          qualifierMessage={undefined}
          schema={{"type":"array","items":{"type":"string","format":"uuid"}}}
        >
          
        </SchemaItem><SchemaItem
          collapsible={false}
          name={"settings"}
          required={false}
          schemaName={""}
          qualifierMessage={undefined}
          schema={{}}
        >
          
        </SchemaItem><SchemaItem
          collapsible={false}
          name={"connection_expiry"}
          required={false}
          schemaName={"string"}
          qualifierMessage={"**Possible values:** `non-empty`"}
          schema={{"type":"string","minLength":1,"description":"Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)"}}
        >
          
        </SchemaItem><SchemaItem
          collapsible={false}
          name={"delete_token_on_disconnect"}
          required={false}
          schemaName={"boolean"}
          qualifierMessage={undefined}
          schema={{"type":"boolean","description":"When set to true, connection tokens will be deleted upon disconnect."}}
        >
          
        </SchemaItem>
      </ul>
    </details>
  </TabItem>
</MimeTabs><div>
  <div>
    <ApiTabs
      label={undefined}
      id={undefined}
    >
      <TabItem
        label={"201"}
        value={"201"}
      >
        <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={"ID (integer)"}
                        qualifierMessage={undefined}
                        schema={{"type":"integer","readOnly":true,"title":"ID"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"name"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"authentication_flow"}
                        required={false}
                        schemaName={"uuid"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","format":"uuid","nullable":true,"description":"Flow used for authentication when the associated application is accessed by an un-authenticated user."}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"authorization_flow"}
                        required={true}
                        schemaName={"uuid"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","format":"uuid","description":"Flow used when authorizing this provider."}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"property_mappings"}
                        required={false}
                        schemaName={"uuid[]"}
                        qualifierMessage={undefined}
                        schema={{"type":"array","items":{"type":"string","format":"uuid"}}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"component"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","description":"Get object component so that we know how to edit the object","readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"assigned_application_slug"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","description":"Internal application name, used in URLs.","readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"assigned_application_name"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","description":"Application's display Name.","readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"assigned_backchannel_application_slug"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","description":"Internal application name, used in URLs.","readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"assigned_backchannel_application_name"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","description":"Application's display Name.","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={"settings"}
                        required={false}
                        schemaName={""}
                        qualifierMessage={undefined}
                        schema={{}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"outpost_set"}
                        required={true}
                        schemaName={"string[]"}
                        qualifierMessage={undefined}
                        schema={{"type":"array","items":{"type":"string"},"readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"connection_expiry"}
                        required={false}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","description":"Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"delete_token_on_disconnect"}
                        required={false}
                        schemaName={"boolean"}
                        qualifierMessage={undefined}
                        schema={{"type":"boolean","description":"When set to true, connection tokens will be deleted upon disconnect."}}
                      >
                        
                      </SchemaItem>
                    </ul>
                  </details>
                </TabItem><TabItem
                  label={"Example (from schema)"}
                  value={"Example (from schema)"}
                >
                  <ResponseSamples
                    responseExample={"{\n  \"pk\": 0,\n  \"name\": \"string\",\n  \"authentication_flow\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"authorization_flow\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"property_mappings\": [\n    \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n  ],\n  \"component\": \"string\",\n  \"assigned_application_slug\": \"string\",\n  \"assigned_application_name\": \"string\",\n  \"assigned_backchannel_application_slug\": \"string\",\n  \"assigned_backchannel_application_name\": \"string\",\n  \"verbose_name\": \"string\",\n  \"verbose_name_plural\": \"string\",\n  \"meta_model_name\": \"string\",\n  \"settings\": {},\n  \"outpost_set\": [\n    \"string\"\n  ],\n  \"connection_expiry\": \"string\",\n  \"delete_token_on_disconnect\": true\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>
      