---
id: link-specification-action-update
title: "Update a link specification action"
description: "Updates a link specification action"
sidebar_label: "Update a link specification action"
hide_title: true
hide_table_of_contents: true
api: eJztW21v2zgS/isEscBu9yQnbZ1eY2Cx8PUFm8VdGzTp3eIcn0GLY4tbilRJyqlr6L8fhpRkyVaStshdW8D5Ekui5n2eGQ7tDdU5GOaEVmecjqgU6t3M5pCIhUj87RlL8N+oyDlzQCPq2NLS0YSO/X06jSgHmxiR+8sRfesXWsIIEiMdYiQQoxE18L4A6/6m+ZqONv5SGOB05EwBEU20cqAcPmJ5LqvXj/60yGJDbZJCxvCTW+dAR1TP/4TE0YjmBhVyAiw+VSyD1irrjFBLGtFMqL+DWrqUjh5GVGnPCFSR0dFEFVJOy12tXrEMiF4QlwIB5YRbD8g/CuvIHAgjSqsYstytSWBBmOJEaUfgfcEkcZogVVpGNGeGZeDAePmccBIFGztnxLwI9r1Vo5s157BghURN9oS/6Pig0oLVPEmg2dZnxaTg5PeL16/IRWBYRnTFZBGE+AzW//QvEWatTgRzwMm1cGlXgIqzZ8ocELZkQllHcqNXggOvBKRlGbUCZVLbopFs2hhrje6yLaf2re0KOpZSXwMnNQWiPIkyooxzgYuYPG+5YsGkhV0ir71FiIHcgMUw8aHQMrVXnlUK+ShpWaYSzWtpC+kOIXIIkVtCxJk1m8s2vs21lsBU29y9Mpwpjp4GS65TcCmYYGyPzSRhCj2M9AVwIkIooLWZSoAIS4QijCyYkGh3xxwMamSTEqT4eD8iZYV0Ipdb1jaEpbA7ksIHSAo0jlCkFmJAXiu5JlXtmEtADE4K63RGULKKhPWSM6W084Hfzbjm9p0pZwplZ3oFpq/Y1PHFIZd6nWFZi6hNdI6pXCu3H20vfJUJ0iJpcp2KJG17ymsXosGm+noWamPFnhnD1sjAQWZvE6uWJAez0CbzwkQ0Y4otwbutkXpPxHPJMCKUr265ZA4JoAMNtOW8FlJ60Kj8MAfijFguAZO0jGihxPsCzoKgWP/L+0ipxqcho97BOvbZQ3ImjO1CUhlR+ODAKCbb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qqpzMBtMbnxjynUdzl2bix0A0L3I7Jo7zqxAFRECIccFEceWpGO7VsJNfMuLXYS4obAvHDMFbaZR+yGwJYUooxqi9X9vsk1s8QA4/sbEc+gPzbagrzZctKFS3QGWFJwkz0itkgSsDYiSs+SlCkFMgoxOANjtImIExnowkWEFS6tb9bdcaHYigmPHhERyiffrM43bzlcf7eIvxUZUzFq6YHVv0U4OCZksE7QFR2GE5tKaj890m630bud1dnz2iXtVxGmXAemBuQ8QLAPCC9QEAIsrluwREiBHQPhMC+WSz9A390eBQ9ND2ckhzOSwxnJ//SMpIzosG+WHipMVY9byeYz2hJe+LoyPj8jQjkwVS/9WYP1usPyUHfn9MhDwjPNoT9oOqh4eXleI1+iObanvo75SphWMOlHxF1yNyBftUMLWObpBasswABuh3AWglVyqY342GzOPhHBL1JtXETSPiAPfb+pia99EoG12JXfSfi5rwLAK1rVe9VkysNmA491be05k/7iMNiHc++72i5bRaYhCE8OQXgIwq8bhF4xl2oeTjCTNLTxKR3Ro/2qcLTpOdcsjwLz3aWClzQUp/o8uTCSjmjqXG5HR0csF4P2dmaQ6Iy2z0T9Ri0EYftktLE/EvIjBVyGHb1fRKPqw8t6OPf7vy69gTET3my/h/3i0O98n9If+p3P6Xdw1rbQ+D7mYQCXh4PjwTHdbghetacK4/MzP9fU1mVMtdIj/NLhjh86dFBssy1Kn/g7iSpSEBSPcsmER3SPG5sKlyY93qMRHfV/46IPmnC14DiVSbV1SHGzmTMLb40sS7z9vgCD38iYYuAZETw92VAubDVF6JvHtZX96U0V0w/ITUrV80q1ro+5wnjmHazDF11w7v9/5NhnvxJzLwXGMeYmm2rls8A0xjP1FqW9pgMVCG+MkwRyd+vaaasQnY8vn/2GOF79Wibz3QI17BqTj10HsXW+zQy8t6GSqWXhazQNRP3wrls0dopEOOPpM8xmE1Zc6negyrKxk8NrtExZ/hevb2fM
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 specification action"}
>
</Heading>

<MethodEndpoint
  method={"patch"}
  path={"/link_specification/{linkSpecificationId}/action_specification/{id}"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Updates a link specification 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":"linkSpecificationId","required":true}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"not":{"enum":[null]},"description":"Name of the entity. Must be a non-empty string and not equal to null"},"parameters":{"title":"Attribute","type":"object","properties":{"schema":{"type":"object","default":{},"description":"Specification of the attribute schema. Must be a valid JSON Schema"},"values":{"type":"object","default":{},"description":"Values associated with the attribute. Must validate against provided schema"}},"required":["schema","values"],"propertyNames":{"enum":["schema","values"],"description":"Allowed property names"},"additionalProperties":false,"description":"Object representing an attribute with a schema and associated values"},"results":{"title":"Attribute","type":"object","properties":{"schema":{"type":"object","default":{},"description":"Specification of the attribute schema. Must be a valid JSON Schema"},"values":{"type":"object","default":{},"description":"Values associated with the attribute. Must validate against provided schema"}},"required":["schema","values"],"propertyNames":{"enum":["schema","values"],"description":"Allowed property names"},"additionalProperties":false,"description":"Object representing an attribute with a schema and associated values"},"retryable":{"type":"boolean","default":false,"description":"Indicates whether the action can be retried if the instance is in a failed state."},"parallelize":{"type":"boolean","default":false,"description":"Indicates whether multiple instances of this action can be executed in parallel. Only applicable to custom type actions."},"annotations":{"title":"Annotation","type":"object","properties":{"runs_over":{"type":"string","enum":["deployment","scope","instance"],"description":"Entity type over which the action applies"},"show_on":{"type":"array","items":{"type":"string","enum":["scope","performance","manage","deployment"],"description":"Place in nullplatform where the action will be able to be triggered"},"uniqueItems":true}},"additionalProperties":false,"description":"Object representing annotations with key-value pairs","default":{}},"external":{"title":"External","type":"object","nullable":true,"properties":{"action":{"type":"string","minLength":1,"description":"Action to send to the agent for resolving external data"},"output_schema":{"type":"object","description":"JSON Schema to validate the agent response against"}},"additionalProperties":false,"required":["action","output_schema"],"description":"Configuration for resolving external context data via the nullplatform agent"},"icon":{"type":"string","pattern":"^([a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+)?$","description":"Icon associated with the action. Format: 'icon-set:icon-variation'. Empty string to clear."}},"description":"Object representing action specifications","additionalProperties":false,"title":"ActionSpecification","example":{"name":"my-link-specification","type":"custom","parameters":{"schema":{"type":"object","properties":{"my_string_property":{"type":"string"},"my_number_property":{"type":"number","default":0}},"required":["my_string_property"]},"values":{}},"results":{"schema":{"type":"object","properties":{"my_string_property":{"type":"string"},"my_number_property":{"type":"number","default":0}},"required":["my_string_property"]},"values":{}},"service_specification_id":"134544a6-a089-43ba-9d52-5b6e6e4fa8d1","link_specification_id":"f3e8be90-0952-4506-bd54-c4e75a5a4393","retryable":true,"parallelize":true,"enabled_when":".service.dimensions.environment == \"development\"","annotations":{"runs_over":"scope","show_on":["scope","performance"]}}}}},"description":"Object representing action specifications"}}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"2XX":{"description":"Object representing action specifications","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},"name":{"type":"string","minLength":1,"not":{"enum":[null]},"description":"Name of the entity. Must be a non-empty string and not equal to null"},"slug":{"type":"string","minLength":1,"not":{"enum":[null]},"description":"Slug of the specification. Automatically generated from \"name\""},"created_at":{"type":"string","format":"date"},"updated_at":{"type":"string","format":"date"},"type":{"type":"string","enum":["create","update","delete","archive","unarchive","custom","diagnose"],"description":"Type of the action. Should be one of the specified values in the ActionType enumeration"},"parameters":{"title":"Attribute","type":"object","properties":{"schema":{"type":"object","default":{},"description":"Specification of the attribute schema. Must be a valid JSON Schema"},"values":{"type":"object","default":{},"description":"Values associated with the attribute. Must validate against provided schema"}},"required":["schema","values"],"propertyNames":{"enum":["schema","values"],"description":"Allowed property names"},"additionalProperties":false,"description":"Object representing an attribute with a schema and associated values"},"results":{"title":"Attribute","type":"object","properties":{"schema":{"type":"object","default":{},"description":"Specification of the attribute schema. Must be a valid JSON Schema"},"values":{"type":"object","default":{},"description":"Values associated with the attribute. Must validate against provided schema"}},"required":["schema","values"],"propertyNames":{"enum":["schema","values"],"description":"Allowed property names"},"additionalProperties":false,"description":"Object representing an attribute with a schema and associated values"},"service_specification_id":{"anyOf":[{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},{"type":"null"},{"type":"string","pattern":"^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12},\\s*)*[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}],"description":"Unique identifier for the associated service specification"},"link_specification_id":{"anyOf":[{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},{"type":"null"},{"type":"string","pattern":"^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12},\\s*)*[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}],"description":"Unique identifier for the associated link specification"},"retryable":{"type":"boolean","default":false,"description":"Indicates whether the action can be retried if the instance is in a failed state."},"parallelize":{"type":"boolean","default":false,"description":"Indicates whether multiple instances of this action can be executed in parallel. Only applicable to custom type actions."},"annotations":{"title":"Annotation","type":"object","properties":{"runs_over":{"type":"string","enum":["deployment","scope","instance"],"description":"Entity type over which the action applies"},"show_on":{"type":"array","items":{"type":"string","enum":["scope","performance","manage","deployment"],"description":"Place in nullplatform where the action will be able to be triggered"},"uniqueItems":true}},"additionalProperties":false,"description":"Object representing annotations with key-value pairs","default":{}},"external":{"title":"External","type":"object","nullable":true,"properties":{"action":{"type":"string","minLength":1,"description":"Action to send to the agent for resolving external data"},"output_schema":{"type":"object","description":"JSON Schema to validate the agent response against"}},"additionalProperties":false,"required":["action","output_schema"],"description":"Configuration for resolving external context data via the nullplatform agent"},"enabled_when":{"type":"string","default":"","description":"Condition that must be met for the action to run"},"icon":{"type":"string","pattern":"^([a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+)?$","description":"Icon associated with the action. Format: 'icon-set:icon-variation'. Empty string to clear."},"enabled":{"type":"boolean","description":"Indicates if the action is enabled depending on enabled_when"},"external_resolution":{"type":"object","description":"Status of the external context resolution when the action specification was read","properties":{"status":{"type":"string","description":"Resolution outcome. One of: success, no_channel, agent_error, timeout, auth_error, service_unavailable, invalid_response"},"error":{"type":"string","description":"Human-readable error detail when status is not success"},"notification_id":{"type":"string","description":"ID of the notification sent to the agent. Present on error statuses to facilitate debugging"}},"required":["status"]}},"description":"Object representing action specifications","additionalProperties":false,"title":"ActionSpecification","example":{"name":"my-link-specification","type":"custom","parameters":{"schema":{"type":"object","properties":{"my_string_property":{"type":"string"},"my_number_property":{"type":"number","default":0}},"required":["my_string_property"]},"values":{}},"results":{"schema":{"type":"object","properties":{"my_string_property":{"type":"string"},"my_number_property":{"type":"number","default":0}},"required":["my_string_property"]},"values":{}},"service_specification_id":"134544a6-a089-43ba-9d52-5b6e6e4fa8d1","link_specification_id":"f3e8be90-0952-4506-bd54-c4e75a5a4393","retryable":true,"parallelize":true,"enabled_when":".service.dimensions.environment == \"development\"","annotations":{"runs_over":"scope","show_on":["scope","performance"]}}}}}},"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>


      