admin

Publish template (Admin); audit event; refused unless a qualification record binds it to an admitted machine

D-19(b)/(c). Admin session; no step-up required. 409 when no qualification_records row binds the template to at least one admitted machine; fixtures never publish.

post/api/v1/admin/templates/{templateId}/publish

Request

  • Base URL: https://amplerun-api.spiry.org
  • URL: https://amplerun-api.spiry.org/api/v1/admin/templates/{templateId}/publish
  • Auth: HTTP bearer

Path parameters

templateIdstring uuid required
Example:3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40

Headers

Idempotency-Keystring uuid required
Example:3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40

UUID scoped to authenticated principal, route and canonical request hash.

Request body

reasonstring required

Response

Publish accepted; audit event recorded.

Changes

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