Delete

Delete a project

Delete

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaprojects.json
GeneralYesParameters described in overviewAuthorization: Bearer <access_token> header — see Synergist API AuthenticationStructure of an API call
ActionYesThe action to performaction=delete
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
Project UUIDYesUUID"projectUuid": "13B75CD3006D53409543A5BFFB4DA067"

Example request (OAuth 2.0):

Deleting a project
Authorization: Bearer <access_token>
https://<SERVER>/jsonapi/projects.json?version=6&&action=delete&input={
  "data": [
    {

   "projectUuid": "13B75CD3006D53409543A5BFFB4DA067"

    }
  ]
}

Example request (legacy username/password):

https://<SERVER>/jsonapi/projects.json?version=6&&action=delete&input={
  "data": [
    {

   "projectUuid": "13B75CD3006D53409543A5BFFB4DA067"

    }
  ]
}&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "synversion": "15.000.0026",
  "synapiversion": 6,
  "data": [
    {
      "projectUuid": "13B75CD3006D53409543A5BFFB4DA067",
      "projectNo": 431
    }
  ]
}