Activities
DELETE
Activities(‘:id’)

Removes a specific Activity.
Resource Information
Method and URI | DELETE https://developer.api.autodesk.com/autocad.io/us-east/v2/Activities(‘:id’) |
Authentication Context | app only |
Required OAuth Scopes | code:all |
Data Format | JSON |
Request
Headers
Authorization* string | Must be Bearer <token> , where <token> is obtained
via OAuth |
* Required
Request
HTTP Status Code Summary
204 No Content | Resource deleted successfully |
400 Bad Request | Request could not be understood by the server due to malformed syntax |
401 Unauthorized | Access token is invalid |
404 Not Found | Resource cannot be found |
429 Too Many Requests | Rate limit exceeded; wait some time before retrying |
500 Internal Server Error | An unexpected error occurred on the server |
Example
Activity Successfully Removed (204)
Request
curl -v "https://developer.api.autodesk.com/autocad.io/us-east/v2/Activities('CreateALine')" \
-X 'DELETE' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer Pt43z2DJnsYuaAxI4R2iT84b3UPy'
Response
HTTP/1.1 204 No Content
Cache-Control: no-cache
Date: Mon, 12 May 2014 19:03:40 GMT
Expires: -1
Pragma: no-cache
Server: Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Connection: keep-alive
Show More