---
id: provider-update
title: "Update a provider"
description: "Updates a provider by ID"
sidebar_label: "Update a provider"
hide_title: true
hide_table_of_contents: true
api: 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
sidebar_class_name: "patch api-method"
info_path: docs/api/providers
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Update a provider"}
>
</Heading>

<MethodEndpoint
  method={"patch"}
  path={"/provider/{id}"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Updates a provider by ID

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

<ParamsDetails
  parameters={[{"schema":{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},"in":"path","name":"id","required":true}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"title":"ProviderUpdate","description":"Object to update a provider","properties":{"attributes":{"type":"object","description":"Provider-specific attributes defined in the specification schema"},"tags":{"type":"array","description":"Tags associated with the provider","items":{"type":"object","properties":{"key":{"type":"string","description":"Tag key"},"value":{"type":"string","description":"Tag value"}},"required":["key","value"],"additionalProperties":false}}},"example":{"attributes":{"cluster":{"id":"my-np-gcp-prod","location":"s-west1","namespace":"my-namespace"},"gateway":{"public_name":"my-public-gateway","private_name":"my-private-gateway"}},"tags":[{"key":"cluster.id","value":"my-np-gcp-prod"}]}}}},"description":"Object to update a provider"}}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"2XX":{"description":"Object representing a provider resource","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"id":{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},"nrn":{"title":"NRN","type":"string","pattern":"^organization=[0-9*]+(:account=[0-9*]+)?(:namespace=[0-9*]+)?(:application=[0-9*]+)?(:scope=[0-9*]+)?$","description":"Nullplatform Resource Name (NRN) representing a hierarchical identifier for nullplatform resources"},"specification_id":{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},"attributes":{"type":"object","description":"Provider-specific attributes defined in the specification schema"},"dimensions":{"type":"object","description":"NRN-specific dimensions. [Read more](/docs/dimensions)"},"tags":{"type":"array","description":"Tags associated with the provider","items":{"type":"object","properties":{"key":{"type":"string","description":"Tag key"},"value":{"type":"string","description":"Tag value"},"id":{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"}},"required":["key","value","id"],"additionalProperties":false}},"groups":{"type":"array","items":{"type":"string"},"description":"Groups associated with the provider"},"created_at":{"type":"string","format":"date-time","description":"Creation timestamp"},"updated_at":{"type":"string","format":"date-time","description":"Last update timestamp"}},"title":"ProviderRead","description":"Object representing a provider resource","example":{"id":"a3f1c2d4-e5b6-7890-ab12-cdef34567890","nrn":"organization=1:account=1:namespace=1","dimensions":{"environment":"production"},"specification_id":"02fd22f1-6bf9-41aa-9b58-29d50f725855","attributes":{"cluster":{"id":"my-np-gcp-prod","location":"s-west1","namespace":"my-namespace"},"gateway":{"public_name":"my-public-gateway","private_name":"my-private-gateway"}},"tags":[{"id":"4e2306de-82e3-4b74-a419-e0e324beb500","key":"cluster.id","value":"my-np-gcp-prod"}],"created_at":"2024-10-15T08:30:00Z","updated_at":"2024-10-20T14:45:00Z"},"required":["id","nrn","specification_id","attributes","created_at","updated_at"]}}}},"4XX":{"description":"Format for representing errors during API interactions","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code indicating the error"},"code":{"type":"string","description":"Unique error code for reference and categorization"},"error":{"type":"string","description":"Short, human-readable error type or category"},"message":{"type":"string","description":"Detailed error message providing additional context"}},"description":"Format for representing errors during API interactions","required":["statusCode","error","message"]}}}},"5XX":{"description":"Format for representing errors during API interactions","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code indicating the error"},"code":{"type":"string","description":"Unique error code for reference and categorization"},"error":{"type":"string","description":"Short, human-readable error type or category"},"message":{"type":"string","description":"Detailed error message providing additional context"}},"description":"Format for representing errors during API interactions","required":["statusCode","error","message"]}}}}}}
>
  
</StatusCodes>


      