{"type":"api","title":"Post Device Delete Request","meta":{"id":"/apps/pubhub/media/edm-api-v2/a2a30bcc9ecab5281b65761ae61df7e0031d5691/f67a4e01-0023-334a-9a4a-7e606c2ef1a2","swagger":"2.0","info":{"contact":{"email":"devmgmt@cisco.com"},"description":"This is the IoT device management core service. The service is responsible for managing the lifecycle of various IoT gateways and endpoints deployed as part of the Field Area Networks","license":{"name":"Licensing is primarily subscription based. Call Andy now!","url":"https://www.cisco.com"},"termsOfService":"http://swagger.io/terms/","title":"IoT Device Lifecycle Management","version":"4.0.0"},"host":"us.ciscoiot.com","basePath":"/nbapi/edm/v1","schemes":["https"],"securityDefinitions":{"bearerAuth":{"description":"This is the bearer Auth token.","in":"header","name":"Authorization","type":"apiKey"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"apiKeyGenerator":{"$remoteModule":"./config/apikey.js"}}},"spec":{"consumes":["application/json"],"description":"Adds the devices given a list of template IDs to deletion queue.\u003cbr /\u003e Request Device Deactivation/Deletion permission is needed to invoke this Api.","operationId":"postDeviceDeleteRequest","parameters":[{"description":"The uuid of the tenant in whose context we are calling the api.","format":"uuid","in":"header","name":"x-tenant-id","required":true,"type":"string"},{"in":"body","name":"body","required":true,"schema":{"properties":{"eids":{"description":"Comma separated list of device EIDs to be deleted.","items":{"example":"IXM-LPWA-800-16-K9+FAB1234ABCD","type":"string"},"type":"array"},"rollbackConfig":{"type":"boolean"}},"required":["eids","rollbackConfig"],"type":"object","$$ref":"#/definitions/GenericDeviceDeleteRequest"}}],"produces":["application/json"],"responses":{"200":{"description":"successful retrieval","schema":{"properties":{"jobId":{"example":7126547186,"format":"int64","type":"integer"},"jobOpUid":{"example":"6650814b-4ad8-4ab6-b7c2-9dce212e0427","type":"string"},"message":{"example":"Successfully submitted delete job for device(s)","type":"string"}},"type":"object","$$ref":"#/definitions/JobSubmissionResponse"}},"401":{"description":"Unauthorized","schema":{"example":"Authentication Token is invalid","type":"string"}},"403":{"description":"Forbidden","schema":{"example":"Permission denied to access the resource","type":"string"}}},"summary":"Request Single / Multiple Device(s) deletion from the system for a non-privileged user","tags":["devices"],"__originalOperationId":"postDeviceDeleteRequest","security":[{"bearerAuth":[]}],"method":"post","path":"/devices/delete_request"}}