Jump to Content
API Reference
v1.0
Log In
API Reference
Log In
Moon (Dark Mode)
Sun (Light Mode)
v1.0
API Reference
Batch update of data breaches
Search
JUMP TO
Dastra API
Rate limiting
Authentication
Status
Api status
get
Get the current authenticated user infos
get
The rate limiting state of api calls
get
Processing activities
DataProcessingRelationships
Get data processing relationships by id
get
Returns the count of relationships of the dataProcessing
get
Creates a data processing relationship
post
Deletes a data processing relationship
delete
DataProcessings
Get data processing record by id
get
Saving or updating a data processing record
put
Patching a data processing with his id
patch
Deletes a data processing
delete
Get data processing activities(Tree)
get
Get data processing activities(Tree)
get
Get data processing activities (Paginated)
get
Creates a data processing
post
Batch update using a BatchPatchDto(guid, DataProcessingUpdateDto)
patch
Get data processing activities in cartography (limited to 150 data processing activities)
get
Get quality indicators on data processings
post
Creates a new data processing from an asset, duplicating the asset and its binded elements if the source of the asset is from Dastra's library. The new data processing is pre filled with the elements of the DataProcessingFromAssetDto model
post
Restore data processing history
post
Sendinvitation to users
post
Switching the current workflow state
post
Duplicate a data processing object
post
Batch archive
post
Force a new calcul for indicators
post
Archive a data processing
post
Restore a batch of data processing activities
post
Restore data processing
post
Batch delete using a delete + a body param
post
Get stats on data processing activities
get
Dashboard informations for data processing activities
get
Export the data processing activities in any format
post
Generates a DPA for the selected DataController
post
List data processing purposes
get
Add a batch list of acto to a dataprocessing as a stakeholder, a recipient or a data controller
post
Delete recipents from batch action
post
Get recipients
get
Import a data processing with json
post
Import data processing as json data
post
DataTransfers
Get data transfer matching Id parameter
get
/v1/ws/{workspaceId}/DataTransfers/{transferId}
delete
Get all transfers
get
/v1/ws/{workspaceId}/DataTransfers
post
Batch update using a BatchPatchDto(guid, AiModelDto)
patch
Updates a data transfer
put
Patch a single transfer
patch
Export the transfers in any format
post
Batch delete using a delete + a body param
post
Get data transfers (Paginated)
get
Questionnaires
AuditResponses
Get audit responses count
get
Batch update of audit responses
patch
List audit responses
get
Patch a single audit
patch
Find a audit response
get
Deletes audit response
delete
Dashboard informations for Audit responses
get
/v1/ws/{workspaceId}/AuditResponses/stats
get
Export the audit responses in any format
post
Refuse audit response
put
Validate audit response
put
/v1/ws/{workspaceId}/AuditResponses/{auditResponseId}/respondants/{stakeholderId}/audit-url
get
Updates a audit response
put
Finalize audit response
put
Renew audit response
post
Generate action plan from audit response
post
Send the audit invitation
put
Send the audit invitation
put
Create planification for audit response
post
Batch creation of audit responses for a list of objects (questionnaires in the dto). One audit response is created per object (dataProcessings, assets, actors, dataBreachs, etc...)
post
Update the planification of audit response
put
Cancel an audit response Not used, use refuse/{id} instead
put
Archive audit response
post
Archive audit response
put
Restore audit response
put
Get data from audit responses for matrix generation
get
Update the state of the audit
put
AuditTemplates
Search for an audit template (paginated list)
get
Creates an audit template
post
Get a unique audit template
get
Updates an audit template
put
Remove a specified template
delete
Set an audit template as pinned
post
Set an audit template as unpinned
post
Creates a new version of the audit template
post
Set an audit template as pinned
post
Archive an existing template
post
Restore an archived template
post
Replicate a specified template
post
Generates a specified template from the library
post
Export the audit templates in any format
post
Allows a template to be shared with an external url
post
Referentials
Tags
Get all tags
get
Create a tag
post
Find a tag
get
Edit tag
put
Delete the tag
delete
Download tags as csv, xlsx or json
post
Batch delete using a delete + a body param
post
Actors
Get all actors (User inserted in the record of processing activities)
get
Create a new actor
post
Batch update using BatchPatch(id,ActorsDto)
patch
Get a single actor from his id
get
Edit the actor's properties
put
Remove the actor with corresponding id
delete
Updates an actor
patch
Switching the current state of the actor
post
/v1/ws/{workspaceId}/Actors/import
post
Delete a batch of actors
post
Clone an actor
post
Export the actors in any format
post
Assets
Get all assets
get
Create a new asset
post
Batch update using BatchPatch(id,AssetUpdateDto)
patch
Get an asset with his id
get
Edit an asset
put
Delete an asset
delete
Patch a single asset
patch
Create a new asset
post
Batch remove assets
post
Export the assets in any format
post
Import asset from json file
post
/v1/ws/{workspaceId}/Assets/import
post
Switching the current state of the asset
post
Clone an asset
post
Get stats on data processings
get
DataFields
List data fields
get
Create a field
post
Batch update using BatchPatch(id,DataFieldPatchableDto)
patch
Find a data field
get
Update a data field
put
Delete by id
delete
Patch a data field
patch
Switching the current state of the data field
post
Delete a batch of data fields
post
Export the data fields in any format
post
DataRetentionRules
List data retention rules
get
Create a data retention rule
post
Batch update using BatchPatch(id,DataRetentionRuleUpdateDto)
patch
Get a data retention rule
get
Edit a data retention rule
put
Patch a data retention rule
patch
Delete a data retention rule
delete
Delete a batch of data retention rules
post
Export the data retention rules in any format
post
/v1/ws/{workspaceId}/DataRetentionRules/import
post
GenericRelationships
List all generic relationships
get
Creates a generic relationships
post
Saving or updating a generic relationships
put
Deletes a relationship
delete
SecurityMeasures
Get all security measures as PagedList
get
Batch update using BatchPatch(id,DataRetentionRuleUpdateDto)
patch
Create a new security measure
post
Get security measure by id
get
Update an existing security measure
put
Updates a security measure from JsonPatchDocument
patch
Delete a security measure
delete
Switching the current state of the measure
post
Delete a batch of security measures
post
Export the security measures in any format
post
Clone a security measure
post
SubjectCategories
List all subject categories matching query
get
Creates a subject category
post
Patch a subject category
patch
Find a subject category by his id
get
Updates a subject category
put
Delete a subject category
delete
Switching the current state of the actor
post
Batch delete of subject categories
post
Download subject categories as csv, xlsx or json
post
CloudStorage
Retrieve all permissions (included inherited) on attachment
get
Create new permissions for an attachment
post
Updates a permission on attachment
put
Delete a permission from attachment
delete
Get all files
get
Upload a file to a provider
post
Get all providers
get
Update a file
put
Delete a batch of attachments from a provider
delete
Link attachment to object
post
Patch a specific file
patch
Delete a batch of attachments from a provider
post
Download a file
get
View content of a file in markdown (Work markdown file only with .md extension)
get
Create a file with the content (markdown file only with .md extension)
post
Put the content of a file (markdown content only
put
Create a folder
post
Move a file
post
Get all drives from a provider
post
Data subject request
DataSubjectAttachments
Upload an attachment to a specific data subject request
post
Get attachments related to a data subject request
get
Remove an attachment from a data subject request
delete
Remove physically all files attached to the data subject request without removing the reference The files will still be visible in the form but won't be availble for download
post
Simple doc download
get
DataSubjectMessages
List all data subject requests messages
get
Creates a data subject request message
post
Find a data subject request message by identifier
get
Delete a data subject request message
delete
Counter of messages
get
Simple doc download
get
DataSubjectRequests
List of data set processed in the data subject request
get
Create data subject request datasets in batch mode
post
Delete a data subject in batchmode
post
Send notifications in batch mode for data subject requests
post
Retrieves an existing data subject request by ID.
get
Partially updates a data subject request.
patch
Edit a data subject request.
put
Deletes a data subject request by ID.
delete
Retrieves a list of data subject requests based on query parameters.
get
Create a new data subject request
post
Updates the workflow state of a data subject request.
post
Closes a data subject request.
post
/v1/ws/{workspaceId}/DataSubjectRequests/{id}/reset-token
post
Archives an existing data subject request by ID.
post
Restores an archived data subject request by ID.
post
Exports data subject requests in the specified format.
post
Sets or removes the suspension status of a data subject request.
post
Anonymizes a data subject request by ID.
post
Batch anonymizes multiple data subject requests.
post
Planification
Tasks
Counter of tasks matching TaskObjectType and objectId
get
List tasks matching query
get
Task creation
post
Batch update
patch
Get tasks grouped by workflow steps
get
Get tasks grouped by workflow steps
get
Get a single task by id
get
Task update
put
Updates a task from JsonPatch
patch
Replicate a single task
post
Batch delete using array of ids
post
Deletes a task
delete
Archive a task
post
Archive batch tasks
post
Restore batch tasks
post
Get stats on tasks
get
Get stats on tasks grouped
get
Get velocity chart informations
get
Get CumulativeFlowChart
get
Get reportings on tasks
get
Get BurnDownChart
get
Switching the current state of the element Using this system https://stackoverflow.com/questions/398425/maintaining-sort-order-of-database-table-rows
post
Switching the current state of the element
post
Get the workflow stats
get
Export the tasks in any format
post
Incidents
DataBreachs
Get the data breaches list
get
Batch update of data breaches
patch
Data breach creation
post
Find a data breach by his id
get
Updates a data breach
put
Patch an data breach
patch
Data breach deletion
delete
Restore a selected data breach
post
Archive a data breach
post
Send invitation to users
post
Batch archive
post
Batch restore
post
Batch Data breach delete
post
Switching the current state of the data breach
post
/v1/ws/{workspaceId}/DataBreachs/import/{areaId}
post
Export the records in any format
post
Restore a selected data breach
get
Data breach duplication
post
Dashboard informations for data breaches
get
Risks
ControlPointResponses
List all control point responses
get
Creates a control point response
post
Find a control point response by his id
get
Updates a control point response
put
Deletes a control point response
delete
Deletes a batch of control point response
post
Simple doc download
get
ControlPoints
List all control points
get
Creates a control point
post
Find a control point by his id
get
Updates a control point
put
Deletes a control point
delete
Delete a batch of control points
post
Download control points as csv, xlsx or json
post
RiskCategories
List all risks categories
get
Creates a risk category
post
Find a risk category by his id
get
Update a risk category
put
Deletes a risk category
delete
RiskEvaluations
List all risk evaluations
get
Creates a risk evaluation
post
Batch update using BatchPatch(id,ActorsDto)
patch
Find a risk evaluation by his id
get
Updates a risk evaluation
put
Delete a risk evaluation
delete
Updates an actor
patch
Delete a batch of risk evaluations
post
Switch the state of risk evaluation
post
Get stats on risk evaluations
get
Count risk evaluations on object
get
Export the risk evaluations in any format
post
RiskEvents
List all risk events
get
Creates a risk event
post
Get stats on risk events
get
Download risk events as csv, xlsx or json
post
Find a risk event by his id
get
Updates a risk event
put
Deletes a risk event
delete
Delete a batch of risk events
post
RiskSources
List all sources
get
Creates a threat
post
Find a threat by his sourceId
get
Delete a threat
delete
Updates a threat
put
Delete a batch a threats
post
Download riskSource threats as csv, xlsx or json
post
RiskThreats
List all threats
get
Creates a threat
post
Find a threat by his id
get
Updates a threat
put
Delete a threat
delete
Delete a batch a threats
post
Download risk threats as csv, xlsx or json
post
RiskTypes
List all risk types
get
Creates a risk type
post
Download risk types as csv, xlsx or json
post
List all risk types by category
get
Find a risk type by his id
get
Updates a risk type
put
Deletes a risk type
delete
Change the order of a risk type
post
Contracts
Contracts
Get all contracts
get
Create a new contract
post
Batch update using a BatchPatchDto(guid, ContractDto)
patch
Patch a single contract
patch
Get an contract with his id
get
Edit an contract + his version in a single payload
put
Add the signatures for the specified contract.
post
Updates the signatures for the specified contract.
put
Delete a signature from a specified version (current by default)
delete
Delete an contract
delete
Clone an contract
post
Archive a contract
post
Restore a contract
post
/v1/ws/{workspaceId}/Contracts/{id}/versions
post
/v1/ws/{workspaceId}/Contracts/{id}/set-active-version
post
Switching the current state of the contract
post
Count contracts matching stakeholderId or assetId
get
Export the data fields in any format
post
Batch archive
post
Batch restore contracts
post
Batch delete using a delete + a body param
post
/v1/ws/{workspaceId}/Contracts/import/{areaId}
post
/v1/ws/{workspaceId}/Contracts/stats
get
Dashboard informations for data processingAttributesTable
get
AI Systems
AiSystems
Get a ai system with his id
get
Delete an ai system
delete
Edit an ai system
put
Patch a single ai system
patch
Get all AI systems
get
Create a new ai system
post
Batch update using a BatchPatchDto(guid, AiSystemDto)
patch
Export the ais sytems in any format
post
Export an ai system information notice in html, docx or pdf
post
/v1/ws/{workspaceId}/AiSystems/import/{areaId}
post
Count contracts matching stakeholderId or assetId
get
Switching the current state of the ai system
post
Clone an ai system
post
Archive a ai system
post
Restore a ai system
post
Batch archive
post
Batch restore ai systems
post
Batch delete using a delete + a body param
post
Get quality indicators on AI systems
post
/v1/ws/{workspaceId}/AiSystems/stats
get
Dashboard informations for AI systems
get
Get all linked assets
get
Sendinvitation to users
post
AiModels
Get all ai models
get
Create a new model
post
Batch update using a BatchPatchDto(guid, AiModelDto)
patch
Patch a single ai model
patch
Delete an ai model
delete
Get a model with his id
get
Edit a model
put
Export the data fields in any format
post
Batch delete using a delete + a body param
post
Administration
Logs
Get logs
get
Count logs
get
Log history for a specific user
get
Download logs as csv
post
Mark logs included in ids as viewed
post
Mark logs as viewed
post
Fetch a single Log details
get
Areas
Retrieve all permissions (included inherited) on a specific area
get
Create new permissions on a specific area
post
Delete a permission on a specific area
delete
Get area by id
get
Edit the area's details
put
Get all areas related to the workspace (Flatten)
get
Creates a new area
post
Fetch the full organizational unit hierarchy
get
Sort areas according to query
post
/v1/ws/{workspaceId}/Areas/{areaId}/to/{migrateToAreaId}
delete
/v1/ws/{workspaceId}/Areas/{areaId}
delete
Export the areas in any format
post
Import organisational units
post
RoleUserWorkSpaces
Get roles affectation by user id
get
Create or update a role affectation in workspace
post
Delete the role assignation in workspace
delete
Create or update a role affectation in workspace
put
Teams
Get a team by id
get
Update a team
put
Delete team
delete
Get all teams (paginated)
get
Create a new team
post
TenantUsers
List all TenantUsers matching parameters
get
Get a single user details
get
Get a single public profile
get
Count of users
get
Detach user profile from organization It does not really remove the account. It removes only the relationship with the company
delete
Detach user profile from organization It does not really remove the account. It removes only the relationship with the company
post
Add or update ownership
post
Remove owner by userId
delete
Collect the owner list
get
Send a reset password mail to a user
get
Manage permissions per role for a specific user
post
Send a reset password mail to a user
post
Users
Get all users matching query
get
Find a user by id
get
Export the users in csv,xlsx or json
post
Remove all the role's affectations of users
post
Retrieve all teams for a specified user
get
Edit user's teams affectations
put
Add team to a user
post
Delete team assignation
delete
WebHookUrls
Get all webhooks urls configured in workspace
get
Post a new webhook url
post
Get webhook by id
get
Edit webhook url
put
Delete webhook url
delete
Workspaces
Get one workspace
get
Get the workspaces list
get
Reviews
List all control points
get
Creates a control point
post
Find a control point by his id
get
Updates a control point
put
Deletes a control point
delete
Creates a control point
post
Deletes a control point
post
CustomReportCategories
List all custom reports
get
Creates a new category category
post
Find a custom report category by his id
get
Updates a custom report category
put
Deletes a custom report category
delete
CustomReports
/v1/ws/{workspaceId}/CustomReports/schema
get
Creates a new report
post
List all custom reports
get
Find a custom model by his id
get
Updates a custom existingReport
put
Deletes a custom existingReport
delete
Get a simplified result for the report
post
Get a full result for the report
get
/v1/ws/{workspaceId}/CustomReports/display/chart
post
/v1/ws/{workspaceId}/CustomReports/display/{id}/chart
get
Export the custom report to specific format
post
Roles
Get all roles (with localized built in roles)
get
CustomFieldGroups
Get all fields (with localized built in fields)
get
Create a new field
post
Get a field by id
get
Edit an existing field
put
Delete field
delete
CustomFields
Get all fields (with localized built in fields)
get
Create a new field
post
Get a field by id
get
Edit an existing field
put
Delete field
delete
Archive custom field
post
Restore custom field
post
WorkflowRuleLogs
List all available workflow rules
get
Get a workflow rul by id
get
Get a workflow rul by id
delete
WorkflowRules
List all available workflow rules
get
Get a workflow rule by id
get
Execute a workflow rule manually
post
Workflows
Get the complete List of Workflows
get
Save workflow steps in database
put
Get workflows matching type
get
Powered by
Batch update of data breaches
patch
https://api.dastra.eu/v1/ws/
{workspaceId}
/DataBreachs
Language
Shell
Node
Ruby
PHP
Python
Credentials
Header
Header
Log in to use your API keys
RESPONSE
Click
Try It!
to start a request and see the response here!