Update custom data record by id

If a record with the id exists it will be updated.

🔒 Requires Custom Connections Data: Create and Update Data permission.

💎 Requires your account have the Custom Connections and Tests feature. Contact your CSM for help upgrading.

Securitybearer
Request
path Parameters
connectionId
required
number
resourceId
required
number
recordId
required
string
Request Body schema: application/json
required
required
object

The Custom data to be created

Responses
200

Successful

401

Invalid Authorization

402

You must upgrade your plan to use this feature

403

You are not allowed to perform this action

412

You must accept the Drata terms and conditions to use the API

413

The file was too large to upload

500

Internal server error

put/custom-connections/{connectionId}/resources/{resourceId}/records/{recordId}
Request samples
application/json
{
  • "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"
        }
      }
    }
}
Response samples
application/json
{
  • "id": 1
}