Sign a line off, or take the sign-off back
PUT
/api/staff-trials/{accountId}/items/{itemId}/sign-offThe buddy, or anyone who manages users, but never the person on the trial.
AuthorizationBearer <token>
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
accountId*string
Format
uuiditemId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/staff-trials/497f6eca-6276-4993-bfeb-53cbbbba6f08/items/497f6eca-6276-4993-bfeb-53cbbbba6f08/sign-off" \ -H "Content-Type: application/json" \ -d '{ "signedOff": true }'{ "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9", "username": "string", "buddyId": "439ab535-2456-425e-a0d5-d66aad0e447f", "buddyName": "string", "startedAt": "2019-08-24T14:15:22Z", "buddyNote": null, "buddyNoteAt": null, "closedAt": null, "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "string", "text": "string", "answer": null, "answeredAt": null, "signedOffAt": null, "signedOffBy": null } ], "canAnswer": true, "canSignOff": true, "canManage": true}