---
id: providers-google-workspace-sync-object-create
title: "providers_google_workspace_sync_object_create"
description: "Sync/Re-sync a single user/group object"
sidebar_label: "providers_google_workspace_sync_object_create"
hide_title: true
hide_table_of_contents: true
api: eJytVk1v2zgQ/SsET1vAsdK0h4VPmy2MIECyCZJ091AYBi2NZdYUqZKUE6+h/94ZUpLlT7RALjYpcoYz7z3OcMNNCVZ4afRtxke8tGYlM7BumhuTK5i+Grt0pUhh6tY6nZrZd0j9NLUgPPABz8ClVpZkj9bPuCV5ggvaygRzUqMLVjmwSW5NVbJojnalsKIAjwfx0bcNl2RdCr/AJY0LOJMZjl26gELw0Yb7dRm+ag85WF7vH33NKi1/VMCaHWwlFM0y0F7O1xgJ8wvp2E1Ii/3XpsUem4yHeJyFH5W0gEB4W0E9GXAvcopwiwufxG3g/N8mW1NoqcEjtaehKEsl0wBn8t1RYJvDHDoQDsFrAGKImBRK/o+ZDuhs5MhLcMFdj4bCZKDoI+iqoDBF5ReU8HKYGgvDsO6GX13wc3zxhoihrJronLcIFm730ito4noI592TxZiOQvj7cSBX2/Q6B4XUd6BzJHX0sa776H7btx4cSWtyLISnCD2vdx0GutAJpJWVfh001aWLs0kdaHOl0S7CeHV5+Y7cPYGrlGdmvlV9yySGfsBhAc6JPI4bx8JascaN0kPhfkEs8RBlctY4Y6/SL5hQioWc3jwt5pAND073Ek28KMpjpM2NLQTiwTO84Be0lchGV1MFq12xYTgeAVNoBW8pxNBwbK0hub0Kq5u/6FrquQmJzCqaauMd+HPKuzP5HR3aSi4kZA+jxiXcFlk8WBEeh7PKw1FURZZJiluoxz5G9b5ee17aw/qodLENeuhOdjIZB6PgVmQPWq0b1e4d1EnjhPxJZ1H9u4Igz5/fVdP/YgHKgikbN5Tu6kgbPZ1LUNk0UP4ram5pwWBTvOTHV05xsgVkG1qM7CQen94RjxvQWJVTdv14ewKQDLyQ6qgKT2fbJ79x0KO+OfRMmvgJG+nChO5tXGyuVHN50jWtZL+ZJxuZ1QnVpiRmm1AJBrtqG3JlFXkQpUxWnxJO5bMtrs+EV0y4V2K71Bbel23npvkMhKWGjXES4k/b3jl+w1ui4ERTO9/L9rtPD+pQZkKZixBugxxwyi8Cd3V59Xn45/DjAc33YkmPhdYqigWLOoVKtZTUJNKgJpQN0c0XoJT5KzfbiKUJ9UqmgP0m3JX4qLm/fUEXEVwCyo2SJMe6Xc0wySLpuUi2o5kyswSP0snd7ZfxP8/jACZxXQjdc97RzSLdrKM7dKG2Ix1/u/WuyW884xrOqd0kpcIQKe2Q3qZRYf/pNOD7OsRPo67941/nmO7AgtSMDjabmXDw1aq6ps+oH0sdHocrgc+kGbGMks2kozGKYS6UgzP5/fHU3LkP7F2ejUdRaCuhpjoYvNJ1HfAlrOPrtp7grgU2A2ppGH9c+BKjvHgh863hQeGqB63FdUq99+zeSa9GPD48kwZnzeO1CIWJW/FK71/8DUGagFq44+Hbhiuh8wobE65Hn6FSV0Rxd/Wbqz5oB5TVURiQ0bDjxSxBI6stKp7mBExd/wSdzWen
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 Markdown from "@theme/Markdown";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"providers_google_workspace_sync_object_create"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/providers/google_workspace/{id}/sync/object/"}
>
  
</MethodEndpoint>



Sync/Re-sync a single user/group object

<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":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this Google Workspace Provider.","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={"sync_object_model"}
          required={true}
          schemaName={"SyncObjectModelEnum (string)"}
          qualifierMessage={"**Possible values:** [`authentik.core.models.User`, `authentik.core.models.Group`]"}
          schema={{"enum":["authentik.core.models.User","authentik.core.models.Group"],"type":"string","title":"SyncObjectModelEnum"}}
        >
          
        </SchemaItem><SchemaItem
          collapsible={false}
          name={"sync_object_id"}
          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>
          
          
          
          
          
        </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"}
                              >
                                messages
                              </strong><span
                                className={"openapi-schema__name"}
                              >
                                 object[]
                              </span><span
                                className={"openapi-schema__divider"}
                              >
                                
                              </span><span
                                className={"openapi-schema__required"}
                              >
                                required
                              </span>
                            </span>
                          </summary><div
                            style={{"marginLeft":"1rem"}}
                          >
                            <li>
                              <div
                                style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}
                              >
                                Array [
                              </div>
                            </li><SchemaItem
                              collapsible={false}
                              name={"timestamp"}
                              required={true}
                              schemaName={"date-time"}
                              qualifierMessage={undefined}
                              schema={{"type":"string","format":"date-time"}}
                            >
                              
                            </SchemaItem><SchemaItem
                              collapsible={false}
                              name={"log_level"}
                              required={true}
                              schemaName={"LogLevelEnum (string)"}
                              qualifierMessage={"**Possible values:** [`critical`, `exception`, `error`, `warn`, `warning`, `info`, `debug`, `notset`]"}
                              schema={{"enum":["critical","exception","error","warn","warning","info","debug","notset"],"type":"string","title":"LogLevelEnum"}}
                            >
                              
                            </SchemaItem><SchemaItem
                              collapsible={false}
                              name={"logger"}
                              required={true}
                              schemaName={"string"}
                              qualifierMessage={undefined}
                              schema={{"type":"string"}}
                            >
                              
                            </SchemaItem><SchemaItem
                              collapsible={false}
                              name={"event"}
                              required={true}
                              schemaName={"string"}
                              qualifierMessage={undefined}
                              schema={{"type":"string"}}
                            >
                              
                            </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
                                      className={"openapi-schema__divider"}
                                    >
                                      
                                    </span><span
                                      className={"openapi-schema__required"}
                                    >
                                      required
                                    </span>
                                  </span>
                                </summary><div
                                  style={{"marginLeft":"1rem"}}
                                >
                                  <SchemaItem
                                    name={"property name*"}
                                    required={false}
                                    schemaName={"any"}
                                    qualifierMessage={undefined}
                                    schema={{"type":"object","additionalProperties":{}}}
                                    collapsible={false}
                                    discriminator={false}
                                  >
                                    
                                  </SchemaItem>
                                </div>
                              </details>
                            </SchemaItem><li>
                              <div
                                style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}
                              >
                                ]
                              </div>
                            </li>
                          </div>
                        </details>
                      </SchemaItem>
                    </ul>
                  </details>
                </TabItem><TabItem
                  label={"Example (from schema)"}
                  value={"Example (from schema)"}
                >
                  <ResponseSamples
                    responseExample={"{\n  \"messages\": [\n    {\n      \"timestamp\": \"2024-09-13T14:05:42.382Z\",\n      \"log_level\": \"critical\",\n      \"logger\": \"string\",\n      \"event\": \"string\",\n      \"attributes\": {}\n    }\n  ]\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>
      