Delete context
DELETE/api/management/contexts/:id
Delete an existing context in this wallet
Request
Path Parameters
id stringrequired
Responses
- 200
- 403
- 404
Forbidden
- application/json
- Schema
- Example (auto)
Schema
namestringrequired
Example:
ResourceNotFound
statusstringrequired
Example:
404 Not Found
codenumberrequired
Example:
404
messageobject
Example:
The requested resource does not exist.
errorstring
Example:
Not Found
{
"name": "ResourceNotFound",
"status": "404 Not Found",
"code": 404,
"message": "The requested resource does not exist.",
"error": "Not Found"
}
Resource not found
- application/json
- Schema
- Example (auto)
Schema
namestringrequired
Example:
ResourceNotFound
statusstringrequired
Example:
404 Not Found
codenumberrequired
Example:
404
messageobject
Example:
The requested resource does not exist.
errorstring
Example:
Not Found
{
"name": "ResourceNotFound",
"status": "404 Not Found",
"code": 404,
"message": "The requested resource does not exist.",
"error": "Not Found"
}
Authorization: oauth2
name: oauth2type: oauth2scopes:wallet_view_did
flows: { "password": { "scopes": { "wallet_view_did": "wallet_view_did", "wallet_manage_keys": "wallet_manage_keys", "wallet_use_keys": "wallet_use_keys", "wallet_view_own_credentials": "wallet_view_own_credentials", "wallet_view_all_credentials": "wallet_view_all_credentials", "wallet_manage_own_credentials": "wallet_manage_own_credentials", "wallet_manage_all_credentials": "wallet_manage_all_credentials", "wallet_issue_credentials": "wallet_issue_credentials", "wallet_view_presentations": "wallet_view_presentations" } } }
- curl
- http
- CURL
curl -L -X DELETE 'https://tsg.dataspac.es/api/management/contexts/:id' \
-H 'Authorization: Bearer <token>'