This endpoint allows you to upsert custom data records individually or in bulk.
If a record with a matching identifier is found, it will be updated (upserted).
If no matching record is found, a new record will be created with a generated ID.
🔒 Requires Custom Connections Data: Create Custom Connection Data permission.
💎 Requires your account have the Custom Connections and Tests feature. Contact your CSM for help upgrading.
Successful
Created
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
The file was too large to upload
Internal server error
{- "data": {
- "id": "some-id-here-uuid4",
- "name": "John",
- "last_name": "Wick",
- "age": 5,
- "data": {
- "foo": "bar"
}
}
}
{- "id": "fd52f04f-a030-44ea-a5af-40919194ab7e",
- "createdAt": "2020-07-06 12:00:00.000000",
- "updatedAt": "2020-07-06 13:00:00.000000",
- "statusCode": 200,
- "data": {
- "YOUR": "DATA",
- "PROPERTIES": {
- "WILL": "BE_HERE"
}
}
}
Generate an evidence file based on your pushed data
🔒 Requires Custom Connections Data: Generate Evidence permission.
💎 Requires your account have the Custom Connections and Tests feature. Contact your CSM for help upgrading.
Successful
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
Internal server error
{- "statusCode": 0,
- "message": "string",
- "code": 0,
- "debugInfo": {
- "name": "string",
- "message": "string",
- "stack": "string"
}
}
If a record with the id exists it will be updated.
🔒 Requires Custom Connections Data: Create and Update Custom Connection Data permission.
💎 Requires your account have the Custom Connections and Tests feature. Contact your CSM for help upgrading.
Successful
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
The file was too large to upload
Internal server error
{- "data": {
- "type": "object",
- "required": [
- "comment_id",
- "user",
- "text"
], - "properties": {
- "comment_id": {
- "type": "number"
}, - "user": {
- "type": "object",
- "required": [
- "id",
- "name",
- "email",
- "has_bought"
], - "properties": {
- "id": {
- "type": "number"
}, - "name": {
- "type": "string"
}, - "email": {
- "type": "string"
}, - "has_bought": {
- "type": "boolean"
}
}
}, - "text": {
- "type": "string"
}
}
}
}
{- "id": 1
}
If a record with the id exists it will be deleted
🔒 Requires Custom Connections Data: Delete Custom Connection Data permission.
💎 Requires your account have the Custom Connections and Tests feature. Contact your CSM for help upgrading.
Successful
Malformed data and/or validation errors
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "statusCode": 0,
- "message": "string",
- "code": 0,
- "debugInfo": {
- "name": "string",
- "message": "string",
- "stack": "string"
}
}