POST/applications/{uuid}/destinations

Add a destination to an application

Attaches an additional standalone Docker destination to an application. Provide destination_uuid to identify the destination to attach, and use the uuid path parameter to identify the application. The response confirms that the destination was attached.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter · 1 body field
uuidstringrequired
The UUID of the application to attach the destination to.

Details of the standalone Docker destination to attach to the application.

destination_uuidstringrequired
The UUID of the destination to attach.

5 status codes
201Returns confirmation that the destination was attached to the application.
400Returned when the token is invalid.
messagestringoptional
401Returned when the request is unauthenticated.
messagestringoptional
404Returned when the application or destination cannot be found.
messagestringoptional
422Returned when the request fails validation.
errorsobjectoptional
messagestringoptional

Error handling

A 400 is returned for an invalid token, a 401 when the request is unauthenticated, a 404 when the application or destination cannot be found, and a 422 when the request fails validation. Provide the required destination_uuid field to identify the standalone Docker destination to attach.