Modify a dispatch target
PATCH/nevisfido/token/dispatch/targets/:id
This is a proprietary nevisFIDO API used to update the properties of an existing dispatch target, such as its name, delivery address, or associated dispatcher.
To ensure the request originates from the legitimate device owner, the request body must be a compact JWS (JSON Web Signature) signed with the dispatch target's registered public key, using Content-Type: application/jose;charset=UTF-8.
This signature-based authorization means no separate session token is required — the device signs the modification payload directly.
Requests include a unique request identifier and creation timestamp to protect against replay attacks.
Request
Path Parameters
Header Parameters
- application/jose;charset=UTF-8
Body
required
string
Responses
- 204
- 400
- 401
- 404
- 405
- 415
- 422
- 500
No Content The server successfully modified the dispatch target.
Bad Request The provided payload is not properly formatted.
Unauthorized The JWS signature is invalid or a potential replay attack was detected.
Not Found The provided dispatch target identifier could not be found.
Method Not Allowed The method of the received request was not PATCH.
Unsupported Media Type The Content-Type header is not properly set to application/jose;charset=UTF-8.
Unprocessable Entity The request could not be processed. For example, because the provided name in the dispatch target modification is already in use by another dispatch target of the user, or because the specified dispatcher is not configured.
Internal Server Error The server could not process the request because of an unexpected error.