Custom APIs

Update a custom API action

Updates one action without changing its stable slug. Contract and pricing changes are revalidated; a pricing change increments pricingRevision. Requires the enterprise owner with credentials:manage, catalog:write, and recent step-up.

patch/credits/custom-endpoints/{providerId}/endpoints/{endpointId}

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/custom-endpoints/{providerId}/endpoints/{endpointId}
  • Auth
    HTTP bearer

Path parameters

providerIdstring uuid required

Workspace-owned custom provider ID. This is distinct from its public custom-{slug} catalog name.

endpointIdstring uuid required

Workspace-owned custom action ID.

Request body

namestring
descriptionstring
method'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'
pathstring
inputSchemaobject
inputExampleobject
outputSchemaobject nullable
outputExampleunknown
markupBpsinteger
enabledboolean

Response

Action updated

successunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.