# Update Workspace Integration

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Update Workspace Integration"}
>
</Heading>

<MethodEndpoint
  method={"put"}
  path={"/api/v2/workspaces/{workspace_id}/secrets-integrations/{provider}"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Updates an already connected integration for a workspace.

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

<ParamsDetails
  parameters={[{"description":"Type the id of the workspace.","in":"path","name":"workspace_id","required":true,"schema":{"description":"Type the id of the workspace.","format":"uuid","title":"Workspace Id","type":"string"}},{"description":"The provider of the model registry.","in":"path","name":"provider","required":true,"schema":{"description":"The provider of the model registry.","title":"Model Provider","enum":["aws-bedrock","azure-document-intelligence","azure-openai","cohere","deepl","google","huggingface","nvidia","openai","searchapi","snowflake","unstructured","voyage-ai","wandb-ai","mongodb","together-ai","aws-bedrock-api-key","anthropic"],"type":"string"}}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"content":{"application/json":{"schema":{"properties":{"secrets":{"items":{"properties":{"name":{"description":"The name of the secret.","title":"Secret Name","type":"string"},"secret":{"description":"The secret you want to add.","title":"Secret","type":"string"}},"required":["secret","name"],"title":"Create Secret","type":"object"},"title":"Secrets","type":"array"}},"required":["secrets"],"title":"CreateSecretIntegration","type":"object"}}},"required":true}}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"ctx":{"title":"Context","type":"object"},"input":{"title":"Input"},"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Location","type":"array"},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}},"required":["loc","msg","type"],"title":"ValidationError","type":"object"},"title":"Detail","type":"array"}},"title":"HTTPValidationError","type":"object"}}},"description":"Validation Error"}}}
>
  
</StatusCodes>
