---
id: link-action-update
title: "Update a link action"
description: "Updates a link action"
sidebar_label: "Update a link action"
hide_title: true
hide_table_of_contents: true
api: eJztWdtu3DYQ/RVinlpA9iZO7LR6c+MEcdE0RmyjATaGwRVHu0woUubFznahfy+GlLTai+0maOM8+Ek3cmZ45syF1AJMjZZ7afSxgByU1J8veUHPeagF9wgZeD51kI/hML6HiwwEusLKOj7mcB4HOsYZTWdpOmRg8Sqg878ZMYd8ER+lRQG5twEzKIz2qD194nWtZBHNGH1yJHQBrphhxenOS68Q8k5/BrUlq71ER581rzAOm9c0ynkr9RQyqKT+A/XUzyB/mkHFv3RPe/v7GWgTNaMOFeRjHZS6aNYX9ievkJmS+Rky1F76+S57G5xnE2ScaaN3sKr9nCWVjGvBtPEMrwJXzBtGUiFJpYVfuhoLWbYLvZQiLl3P35WQj5fLPBaE+dpiSmMr7iGHECR9X/OAllcBmRRkZSnRstLYgdnMYm3RofYoGCdPnZ8fH0GT9aglUzdce5QsZ+FWBdw5U0hOgleWR+uu0Dk+TV7qVvc2vVsukVvL55CB9Fi5gR/N5BMWfsPbCq9RbXN360kQOAn0LHVp2gtBl5hzw213aWdZayzhyz1XidolD4qQbgWsAtKazxxeoyVkoz277ChNc+T2j3HqRxhAsM3gVcFnhGXhiTntHNYFSJOBlxU6z6t6IEiHaoJ2U1A3tGNuJ05qVkmlpMPCaOGgabJBTI57Uy8y4EJIEsfVyQD8kiuH6+reRTctCUaB0Pmd3Ug/W4Mq6XWe++DucmONWkg9vSwspizUvoguvaytmVp0DjJwoSjSXcmlQgqOgusCFd1vEPo0Ku6gSalql53OTFCCwtroPuJbOqNg11wFdAQgvU9pqBVE5rYJlPxUc8sr9Gi3MnnVlJN+7DCIImRL2yA6yRG17pf4Pg1ktTUiFCjYZL4iaiPBbXOe1M4Tfm4Zor26O3jRfK30NbTG2zL+90yFIGl6zf0MsramQJS/WrcoZ/54hlLhPd5i7EUGDotA4RchniC3aA8DlcHxBX226GqjXUquex8+0OXrSPJf1fFUDx8E0R+/hXAqTP8fC09VmK5beBi8oZpZcKXmbIqaUhwKVlpTsY8RrlTetnU0D+LBxxbrscV6bLGGLVZqnMQl99uQ6cke93hNBmm396+HPzZwD9HAUTW317LAh0y18YzgAfV3xJ7M7w/5c4eWHR91jAj0eDMzrJXxPbvjJoPn29qr1xGmuPoVTTFtOiZCbAwOT46Z1B5tsvab+q5XbSK+O/unyH5pBN6fCN+cnZ2wNIEVRlACFNEOPU2ujBrJZ6vibvNW4kScleQlVEq0qAuM3VHBPU6NlX/3IZuU3Cv8dGasz9gsVFzvWOSCT1Sni2Yy0pmEz7+qrByhj3mrldXVgtqaayliU9fzItWbL34L2b6ZBsP6MvDdsu72RSeRcP+RhI8kfFgSxoX5mRFpH1vQRjbuZ3MYUXUZLdJ+thklDaOFFA2k4tcdFgSrIIeZ97XLRyNey13qr2vFPdWd3cJUMNz9nhIRE7eGe+AeVhJEGuIwyNtBkLU3r7ta9vtfZxE3Ivj75fn2qy+8qhUuj6NX/HTLzgSelfyX/fLg+c7+i6cvdp7vH+ztTJ6Vxc5e8evBs/LggJf8AIY9/rhvzrvWuSfIUuGgkX0SIWhbtS0d2bDZWelTmqbt7vMFEOSJHk93n+w+iRpSLP85QJxYERso43zF9QCJ9Htg4+/ACvMWy0Ry6++E1lNE3VGtuIxxF2mwaNkzjr0JZJD35yH97FzGZnJmnKeBi8WEOzy3qmno9VVASyckFxlccyspKiPaQjq6F9s786HVP71vQ+Bndput3W5M014stqSQA2TwGefprIk2i99RYwtSQ2cCM+QCbVxz+vgy6dk5IxHLyRtJnmxOMw6LAmt/59iLQeCfHJ69fEMB1v4eqmJ2BstvKJ/wm2SpqVOKof9H9G4BiutpSJRPQomrfDWa16I37f23YbFYpBFn5jPqpumh8fRMyDTNP+IKe3k=
sidebar_class_name: "patch api-method"
info_path: docs/api/nullplatform-api
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 link action"}
>
</Heading>

<MethodEndpoint
  method={"patch"}
  path={"/link/{linkId}/action/{id}"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Updates a link action

<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},{"schema":{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},"in":"path","name":"linkId","required":true}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"required":true,"content":{"application/json":{"schema":{"title":"Action","properties":{"name":{"type":"string","minLength":1,"maxLength":255,"not":{"enum":[null]},"description":"Name of the entity. Must be a non-empty string and not equal to null"},"desired_specification_id":{"anyOf":[{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},{"type":"null"}],"description":"Desired unique identifier for the associated specification"},"messages":{"title":"Message","type":"array","items":{"type":"object","properties":{"level":{"type":"string","enum":["debug","info","information","warn","warning","error","fatal"],"default":"info","description":"Message severity level. Defaults to \"info\""},"message":{"type":"string","description":"The actual message content"},"timestamp":{"type":"number","description":"Timestamp of the message in milliseconds"}},"required":["message"],"additionalProperties":false,"description":"Object representing messages with severity levels"}},"status":{"type":"string","enum":["pending_create","pending","in_progress","success","failed","cancelled"],"description":"Status of the action. Should be one of the specified values in the ActionStatus enumeration"},"parameters":{"type":"object","description":"Parameters associated with the action"},"results":{"type":"object","description":"Results produced by the action"}},"description":"Object representing instances","type":"object","additionalProperties":false}}},"description":"Object representing instances"}}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"2XX":{"description":"Object representing instances","content":{"application/json":{"schema":{"title":"Action","properties":{"id":{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},"name":{"type":"string","minLength":1,"maxLength":255,"not":{"enum":[null]},"description":"Name of the entity. Must be a non-empty string and not equal to null"},"slug":{"type":"string","minLength":1,"maxLength":255,"not":{"enum":[null]},"description":"Slug of the entity. Automatically generated from \"name\""},"specification_id":{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},"desired_specification_id":{"anyOf":[{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},{"type":"null"}],"description":"Desired unique identifier for the associated specification"},"messages":{"title":"Message","type":"array","items":{"type":"object","properties":{"level":{"type":"string","enum":["debug","info","information","warn","warning","error","fatal"],"default":"info","description":"Message severity level. Defaults to \"info\""},"message":{"type":"string","description":"The actual message content"},"timestamp":{"type":"number","description":"Timestamp of the message in milliseconds"}},"required":["message"],"additionalProperties":false,"description":"Object representing messages with severity levels"}},"created_at":{"type":"string","format":"date"},"updated_at":{"type":"string","format":"date"},"status":{"type":"string","enum":["pending_create","pending","in_progress","success","failed","cancelled"],"description":"Status of the action. Should be one of the specified values in the ActionStatus enumeration"},"parameters":{"type":"object","description":"Parameters associated with the action"},"results":{"type":"object","description":"Results produced by the action"},"service_id":{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},"link_id":{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},"created_by":{"type":"string","description":"User ID of the user who created the action"}},"description":"Object representing instances","type":"object","additionalProperties":false}}}},"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>


      