Delete a program
DELETE
/program/{program_id}
const url = 'https://your-candig-domain/ingest/program/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://your-candig-domain/ingest/program/exampleDelete a program
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”program_id
required
string
Responses
Section titled “Responses”Success
Media typeapplication/json
Describes a program
object
program_id
required
Name of the program
string
program_curators
required
List of users who are program curators for this program
Array<string>
team_members
required
List of users who are original researchers for this program
Array<string>
creation_date
Date program was created, for embargo purposes. This may or may not be the date of ingest.
string
Examplegenerated
{ "program_id": "example", "program_curators": [ "example" ], "team_members": [ "example" ], "creation_date": "example"}