What Happened?
When attempting to delete a subject from a deployed instance you receive the following error:
python3 odc-cli subjects delete --id 'groupId$subjectId'
Are you sure you want to delete this subject? Type DELETE to Confirm: DELETE
{
"message": "Body cannot be empty when content-type is set to 'application/json'",
"statusCode": 400
}
What Did You Expect?
expect to receive a status code 200 and the subject info as well as all its sessions and records to be deleted.
Operating System
macOS 15.7.7
Browser (if applicable)
No response
Steps to Reproduce
- navigate to
/cli directory containing odc-cli tool
- run the command
python3 odc-cli config set-url websiteUrl/api (ex: https://mouseodc.douglasneuroinformatics.ca/api)
- run the command
python3 odc-cli auth login --username admin-username --password admin-password
- run the command
python3 odc-cli subjects delete --id subjectid
Anything Else?
No response
What Happened?
When attempting to delete a subject from a deployed instance you receive the following error:
What Did You Expect?
expect to receive a status code 200 and the subject info as well as all its sessions and records to be deleted.
Operating System
macOS 15.7.7
Browser (if applicable)
No response
Steps to Reproduce
/clidirectory containing odc-cli toolpython3 odc-cli config set-url websiteUrl/api(ex: https://mouseodc.douglasneuroinformatics.ca/api)python3 odc-cli auth login --username admin-username --password admin-passwordpython3 odc-cli subjects delete --id subjectidAnything Else?
No response