---
updatedAt: 2025-11-12T22:18:08.000Z
agentTools:
  projectIndex: https://docs.nmp.arianee.com/llms.txt
---

# Set/Remove Digital Passport Stolen Status

This endpoint is used to set or unset a digital passport status as stolen.

- URL: `POST - {{url}}/lostAndStolen/setStoen`
    
- Body:
    
    - `certificateId` - The ID of the target digital passport.
        
    - `isStolen` - Set the digital passport as stolen (`true`) or unset (`false`).
        
- Success: The new status is set.
    

[For more information, read our detailed API documentation.](https://docs.nmp.arianee.com/docs/declare-product-as-lost-or-stolen)

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "🖥️ Passport Management API",
    "contact": {},
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{url}",
      "variables": {
        "url": {
          "default": "nmp_endpoint"
        }
      }
    }
  ],
  "paths": {
    "/lostAndStolen/setStolen": {
      "post": {
        "tags": [
          "Lost & Stolen"
        ],
        "summary": "Set/Remove Digital Passport Stolen Status",
        "description": "This endpoint is used to set or unset a digital passport status as stolen.\n\n- URL: `POST - {{url}}/lostAndStolen/setStoen`\n    \n- Body:\n    \n    - `certificateId` - The ID of the target digital passport.\n        \n    - `isStolen` - Set the digital passport as stolen (`true`) or unset (`false`).\n        \n- Success: The new status is set.\n    \n\n[For more information, read our detailed API documentation.](https://docs.nmp.arianee.com/docs/declare-product-as-lost-or-stolen)",
        "operationId": "Set/RemoveDigitalPassportStolenStatus",
        "parameters": [],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SetRemoveDigitalPassportStolenStatusRequest"
                  },
                  {
                    "example": {
                      "certificateId": "43868083",
                      "isStolen": true
                    }
                  }
                ]
              },
              "example": {
                "certificateId": "43868083",
                "isStolen": true
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-Powered-By": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "Express"
                  }
                }
              },
              "Access-Control-Allow-Origin": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "*"
                  }
                }
              },
              "Content-Length": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "47"
                  }
                }
              },
              "ETag": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "W/\"2f-GnY7fHGL0TtnI9hSBSYQmIrdpO4\""
                  }
                }
              },
              "Vary": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "Accept-Encoding"
                  }
                }
              },
              "Date": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "Thu, 29 Feb 2024 13:18:23 GMT"
                  }
                }
              },
              "Connection": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "keep-alive"
                  }
                }
              },
              "Keep-Alive": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "timeout=5"
                  }
                }
              }
            },
            "content": {
              "application/json; charset=utf-8": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Success14"
                    },
                    {
                      "example": {
                        "smartAssetId": "43868083",
                        "stolenStatus": true
                      }
                    }
                  ]
                },
                "example": {
                  "smartAssetId": "43868083",
                  "stolenStatus": true
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "headers": {
              "X-Powered-By": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "Express"
                  }
                }
              },
              "Access-Control-Allow-Origin": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "*"
                  }
                }
              },
              "Content-Length": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "93"
                  }
                }
              },
              "ETag": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "W/\"5d-5faS+uHnM2Wyyix85eVDrpE2+T8\""
                  }
                }
              },
              "Vary": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "Accept-Encoding"
                  }
                }
              },
              "Date": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "Thu, 29 Feb 2024 13:19:49 GMT"
                  }
                }
              },
              "Connection": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "keep-alive"
                  }
                }
              },
              "Keep-Alive": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "timeout=5"
                  }
                }
              }
            },
            "content": {
              "application/json; charset=utf-8": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Error500Alreadysetstolen1"
                    },
                    {
                      "example": {
                        "error": "Error while executing the protocol v1 action Stolen status is already set as true"
                      }
                    }
                  ]
                },
                "example": {
                  "error": "Error while executing the protocol v1 action Stolen status is already set as true"
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "SetRemoveDigitalPassportStolenStatusRequest": {
        "title": "SetRemoveDigitalPassportStolenStatusRequest",
        "required": [
          "certificateId",
          "isStolen"
        ],
        "type": "object",
        "properties": {
          "certificateId": {
            "type": "string"
          },
          "isStolen": {
            "type": "boolean"
          }
        },
        "example": {
          "certificateId": "43868083",
          "isStolen": true
        }
      },
      "Success14": {
        "title": "Success14",
        "required": [
          "smartAssetId",
          "stolenStatus"
        ],
        "type": "object",
        "properties": {
          "smartAssetId": {
            "type": "string"
          },
          "stolenStatus": {
            "type": "boolean"
          }
        },
        "example": {
          "smartAssetId": "43868083",
          "stolenStatus": true
        }
      },
      "Error500Alreadysetstolen1": {
        "title": "Error500Alreadysetstolen1",
        "required": [
          "error"
        ],
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          }
        },
        "example": {
          "error": "Error while executing the protocol v1 action Stolen status is already set as true"
        }
      }
    },
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "security": [],
  "tags": [
    {
      "name": "Lost & Stolen"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```