Skip to main content
POST
Retired archived-update submission

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Path Parameters

type
string
required
id
integer
required
program_id
integer
required
form_id
integer
required

Body

application/json

The body is of type object.

Response

Unauthorized

Returned with HTTP 401 when the request lacks a valid Passport bearer token, a valid X-HYS-API-Key, or a valid session. The body is the simple {message, status} envelope emitted by AuthenticateApiOrKey.

message
string
required

Always the literal string Unauthorized from the auth.api_or_key middleware. Login endpoints return Invalid Credentials instead.

Example:

"Unauthorized"

status
string
required
Example:

"error"