Functions

Promote a Function deployment

Make one of the Function's ready deployments production and publish its interfaces. Needs functions:write.

post/v1/functions/{function_id}/deployments/{deployment_id}/promote

Request

  • Base URL
    https://api.dexto.ai
  • URL
    https://api.dexto.ai/v1/functions/{function_id}/deployments/{deployment_id}/promote
  • Auth
    HTTP bearer

Path parameters

function_idstring required
deployment_idstring required

Response

Successful response.

access'private' | 'public' required

Who can reach it: private by default; public only for intentional internet access.

object'function.promotion' required
operationsstring[] required
urlstring uri nullable required

Changes

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