Archive an SDS document
Soft-deletes an SDS document by setting its archived flag to true. The document and its data are retained but hidden from default listings.
Authorization
bearerAuth AuthorizationBearer <token>
Bearer token authentication. Use your API key as the token. Obtain from your NextSDS team settings.
In: header
Path Parameters
sdsId*string
SDS document UUID
Format
uuidResponse Body
application/json
application/json
application/json
curl -X DELETE "https://api.nextsds.com/v1/sds/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"message": "SDS document archived"
}{
"type": "https://api.nextsds.com/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "Invalid or missing X-API-Key header"
}{
"type": "https://api.nextsds.com/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "The requested resource was not found"
}