Intents

Create condition set delete intent

Changed on

Create an intent to delete a condition set. The intent must be authorized by the condition set owner before it can be executed.

delete/v1/intents/condition_sets/{condition_set_id}

Request

  • Base URL
    https://api.privy.io
  • URL
    https://api.privy.io/v1/intents/condition_sets/{condition_set_id}
  • Auth
    HTTP basic

Path parameters

condition_set_idstring required

Headers

privy-app-idstring required

ID of your Privy app.

privy-request-expirystring

Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.

Response

Created condition set delete intent.

intent_idstring required

Unique ID for the intent

created_by_display_namestring required

Display name of the user who created the intent

created_by_idstring

ID of the user who created the intent. If undefined, the intent was created using the app secret

created_atnumber required

Unix timestamp when the intent was created

resource_idstring required

ID of the resource being modified (wallet_id, policy_id, etc)

status'pending' | 'processing' | 'executed' | 'failed' | 'expired' | 'rejected' | 'dismissed' required

Current status of an intent.

custom_expiryboolean required

Whether this intent has a custom expiry time set by the client. If false, the intent expires after a default duration.

expires_atnumber required

Unix timestamp when the intent expires

rejected_atnumber

Unix timestamp when the intent was rejected, present when status is 'rejected'

dismissed_atnumber

Unix timestamp when the intent was dismissed, present when status is 'dismissed'

dismissal_reasonstring

Human-readable reason for dismissal, present when status is 'dismissed'

intent_type'CONDITION_SET' required

Example response

{
  "current_resource_data": {
    "id": "qvah5m2hmp9abqlxdmfiht95",
    "name": "Approved Recipients",
    "owner_id": "asgkan0r7gi0wdbvf9cw8qio",
    "created_at": 1761271537642
  },
  "action_result": {
    "prior_state": {
      "id": "qvah5m2hmp9abqlxdmfiht95",
      "name": "Approved Recipients",
      "owner_id": "asgkan0r7gi0wdbvf9cw8qio",
      "created_at": 1761271537642
    }
  }
}

Changes