---
id: managed-blueprints-apply-create
title: "managed_blueprints_apply_create"
description: "Apply a blueprint"
sidebar_label: "managed_blueprints_apply_create"
hide_title: true
hide_table_of_contents: true
api: eJytVttu4zYQ/RVBTy3gWkF2Hwo/NW2DwkC3CZpNXxaBMZJGFtcUyeUlW8PQv3eGkizFUlK02CddONdzDjk8pdqgBS+02pbpJm1AwR7LXS4DGiuUdzswRh53hUXwmK7SEl1hhWEPsr/hxQSSsz1ZGLDQoEfr0s2nUyrYzoCvaUnRAn0J5TyoAnchiJJ+u6LGBtLNKfVHwwbOU6w9rVTaNuDpT7RsZ+mTx8ftr0lnnogSlRfVkd99LVzy81BVsu0zrimmxS9BWKR2vQ3YPq1SD3uudeg+pV8Oi2CFP8YWIPiaQx/o64kdLDqjlUPHNV9fXfGj0MqTEb8yZKKIqGafHVd6mveo889Y+BmiW1XpBHIdPMHqqBWJI7rJgFxSCclsGMv8edFVYg7/jiEXD+Wdkseuf+peeIkxcx97wLpj6zJgu+rYXMhUYgVBciq2ioD8zYDQhwTno5QEA/9GkSXJ7AcvGpxVehFlV4NbrGLmRW35EAECKe+qSCmq0DDlLhQFOlcFSZ5fwaouBlqrLT21NTUoZNiCOij9VbE4LjMOCJ71NkD5EDPfcq5ONheVoYJcvgAk11oiKMZv2IuNLlG6iQ1YC0dKKzw2bpGgWSLaj0DIRv3NFifKvYjUTnfLp5ckLrExK3qSudfTilV65uTpDfAo/WzDc3Pvv+l++wukKKNrctuT/nJTKa12lUBZ7qIo/gsREdtyaQ/RCpSl4LQg76f52hGRsbSuslfxePcN8fgNFVpRJDf321cAKYlRIRd193q3Uxn1ASbc90nfaLPTcK15SBntujnDp1Ca9ZLLxpmVnV5MmDaLMyxj2aF9HgZTsJLdwYjs+V0WN+hw6j8wWF23k7P/3FftvRnGVty0CBZtLFLQ8R0t+85G91XKmbt+rq+u369/XF/P0P8AB55eg1fHIY2Bxsg4u5hkKCLJxCazkNYopf5pr8+Z1kIzF6QApBEVJdyN3Q/bj3yOxba5BbfJsr3wdcjXhW6ySYhsfMulzgliobLft7/c/vFwG9tkCgj3SfCehXFWuSSinizfHCZ6XbxE9EjzAMmMpPTcUiz91BM/jutVOialj83l9SLWQU9WXM3aId/TKQeHj1a2Lf/+EtDyrKfXZ7CCT+WokVK4/oSuQDp8o4nv/uwV/n3yv24liw0P54zi8p+BHHkzrNIDHmfXqPaJHGo620mJXHpnc0PjzfiJ9+xsYN2ft9b93QNrhOmfDqVO36vhhcMvlkaoRouP+oCKkB0q9fzNFbbtP8vuoCM=
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={"managed_blueprints_apply_create"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/managed/blueprints/{instance_uuid}/apply/"}
>
  
</MethodEndpoint>



Apply a blueprint

<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":"instance_uuid","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Blueprint Instance.","required":true}}
      >
        
      </ParamsItem>
    </ul>
  </div>
</details><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":"Instance uuid"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"name"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"path"}
                        required={false}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","default":""}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"context"}
                        required={false}
                        schemaName={""}
                        qualifierMessage={undefined}
                        schema={{}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"last_applied"}
                        required={true}
                        schemaName={"date-time"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","format":"date-time","readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"last_applied_hash"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"status"}
                        required={true}
                        schemaName={"BlueprintInstanceStatusEnum (string)"}
                        qualifierMessage={"**Possible values:** [`successful`, `warning`, `error`, `orphaned`, `unknown`]"}
                        schema={{"enum":["successful","warning","error","orphaned","unknown"],"type":"string","title":"BlueprintInstanceStatusEnum"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"enabled"}
                        required={false}
                        schemaName={"boolean"}
                        qualifierMessage={undefined}
                        schema={{"type":"boolean"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"managed_models"}
                        required={true}
                        schemaName={"string[]"}
                        qualifierMessage={undefined}
                        schema={{"type":"array","items":{"type":"string"},"readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"metadata"}
                        required={true}
                        schemaName={""}
                        qualifierMessage={undefined}
                        schema={{"readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"content"}
                        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  \"pk\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"name\": \"string\",\n  \"path\": \"string\",\n  \"context\": {},\n  \"last_applied\": \"2024-07-29T15:51:28.071Z\",\n  \"last_applied_hash\": \"string\",\n  \"status\": \"successful\",\n  \"enabled\": true,\n  \"managed_models\": [\n    \"string\"\n  ],\n  \"content\": \"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>
      