/one-applications-delete-one¶
Summary¶
Source repository:
jef-systems/jef-one-backendSource SHA:
cabdf720f0e0bb4038428358fd150f2f95c55ff8Source run id:
26362915698Lambda function:
jef-one-applications-delete-oneHTTP method:
DELETEAPI path:
/one-applications-delete-oneEndpoint URL:
https://mfr670zvsh.execute-api.ap-southeast-1.amazonaws.com/prod/one-applications-delete-onePayload mode:
json-body
Description¶
Function: jef-one-applications-delete-oneModule: jef-oneAction: delete-oneMethod: DELETEInvocation Mode: ASYNCResource Path: /one-applications-delete-oneTable: jef-one-applicationsPrimary Key: application_id
API Gateway Response¶
status\_code: 202message: Request accepted for asynchronous processing.
Payload Example¶
application\_id: 21ea80c8-aed9-494c-bd23-86f044b58c20
Payload Schema¶
[
{
"key": "root.type",
"value": "M"
},
{
"key": "root.required",
"value": "True"
},
{
"key": "root.attributes.application_id.type",
"value": "S"
},
{
"key": "root.attributes.application_id.required",
"value": "True"
},
{
"key": "root.attributes.application_id.format",
"value": "uuidv4"
},
{
"key": "root.attributes.application_id.regex",
"value": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
}
]
Response Schema¶
[
{
"key": "root.type",
"value": "M"
},
{
"key": "root.required",
"value": "True"
},
{
"key": "root.attributes.is_accepted.type",
"value": "BOOL"
},
{
"key": "root.attributes.is_accepted.required",
"value": "True"
},
{
"key": "root.attributes.message.type",
"value": "S"
},
{
"key": "root.attributes.message.required",
"value": "True"
},
{
"key": "root.attributes.request_id.type",
"value": "S"
},
{
"key": "root.attributes.request_id.required",
"value": "False"
}
]
Request Payload¶
[
{
"key": "application_id",
"value": "21ea80c8-aed9-494c-bd23-86f044b58c20"
}
]
Response¶
[
{
"key": "root.type",
"value": "M"
},
{
"key": "root.required",
"value": "True"
},
{
"key": "root.attributes.is_accepted.type",
"value": "BOOL"
},
{
"key": "root.attributes.is_accepted.required",
"value": "True"
},
{
"key": "root.attributes.message.type",
"value": "S"
},
{
"key": "root.attributes.message.required",
"value": "True"
},
{
"key": "root.attributes.request_id.type",
"value": "S"
},
{
"key": "root.attributes.request_id.required",
"value": "False"
}
]
CMD curl¶
curl -X DELETE "https://mfr670zvsh.execute-api.ap-southeast-1.amazonaws.com/prod/one-applications-delete-one" -H "Content-Type: application/json" --data-raw "{\"application_id\": \"21ea80c8-aed9-494c-bd23-86f044b58c20\"}"
PowerShell curl¶
curl.exe -X DELETE "https://mfr670zvsh.execute-api.ap-southeast-1.amazonaws.com/prod/one-applications-delete-one" -H "Content-Type: application/json" --data-raw '{"application_id": "21ea80c8-aed9-494c-bd23-86f044b58c20"}'