Docs
Live demo
POST/api/v2/notifications/channels/{id}/deliveries/{delivery_id}/resend

Run the delivery job of the notification one attempt belongs to once more, at once. The run is a retry of that job: it skips every channel that already received the notification and delivers to the others it was meant for, this channel included, with their current settings. Allowed only while the notification is resendable (see the channel deliveries list), otherwise 409 with the reason. When another Resend has just queued the same job the answer is 409 as well. The answer is the notification after the job was queued. The new attempt appears in the list when the job runs. Records notification.delivery.resend. Organization administrators only.

Parameters

Path2 required of 2
idstring · uuidpathrequired

Notification channel ID (UUID)

delivery_idstring · uuidpathrequired

ID of an attempt of the notification to resend (UUID)

Responses

200

The notification with its delivery job queued again

NotificationChannelDeliveryResponse · 14 fields
delivery_idstring · uuidrequired

ID of the latest attempt. Resend accepts it.

event_typestringrequired
drift.founddrift.failedapply.failedapply.succeededsync.failedaccess.expiringaccess.requestedcert.duetarget.createdtarget.updatedtarget.delete_requestedtarget.deletedapplication.adoptedapplication.access.updatedapplication.dex_client.appliedidentity.createdidentity.updatedidentity.deletedgroup.membership.addedgroup.membership.removedpolicy.createdpolicy.updatedpolicy.deletedcredentials.revealedcredentials.read_limit_exceededapi_token.new_networkaccess.left_on_targetoperation.finished
titlestringrequired
statusstringrequired
pendingsentfailed
attemptsintegerrequired
first_attempt_atstring · date-timerequired
last_attempt_atstring · date-timerequired
sent_atstring · date-time

Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.

8 fields
codestring (JobFailureCode)required

Closed registry of asynchronous operation failure causes, independent of HTTP problem codes.

ACCESS_PROFILE_STALEAMBIGUOUS_TARGET_OUTCOMEAPPLY_INTERRUPTEDAUTHENTICATION_FAILEDCLICKHOUSE_REPLICAS_OUT_OF_SYNCCLICKHOUSE_USER_NAME_RESERVEDCONNECTION_FAILEDCONNECTION_REFUSEDCONNECTION_TIMEOUTCONNECTOR_CREDENTIALS_MISSINGCONNECTOR_PAUSEDCONNECTOR_SOURCE_CHANGEDCONNECTOR_TYPE_UNAVAILABLECONSTRAINT_VIOLATIONCREDENTIAL_EXPIREDCREDENTIAL_NOT_FOUNDDATABASE_NOT_FOUNDDRIFT_BINDING_NOT_FOUNDDRIFT_DEFAULT_INHERITED_SKIPPEDDRIFT_NO_EXECUTABLE_DIFFDRIFT_PARTIAL_APPLYDRIFT_PLAN_GENERATION_FAILEDDRIFT_RESOURCE_MISMATCHDRIFT_RULE_DELETINGDRIFT_RUN_OUTDATEDDRIFT_SCOPE_MISMATCHGROUP_EXPANSION_LIMIT_EXCEEDEDHANDLER_NOT_FOUNDK8S_CHANGE_REJECTEDK8S_CLUSTER_UNREACHABLEK8S_NAMESPACE_FORBIDDENK8S_NAMESPACE_NOT_FOUNDK8S_RBAC_FORBIDDENKUBERNETES_MEMBER_CREDENTIALS_PENDINGKUBERNETES_SERVICE_ACCOUNT_KUBECONFIG_NOT_ISSUEDMARIADB_TRUNCATE_UNSUPPORTEDMARIADB_USAGE_UNSUPPORTEDMARIADB_GRANTS_AMBIGUOUSMUTATION_LOCKEDMYSQL_MANAGEMENT_PRIVILEGES_MISSING
34 more values
NOT_FOUNDOPERATION_BACKOFFOPERATION_CANCELLEDOPERATION_TIMEOUTOWNED_OBJECTS_DECISION_REQUIREDPERMISSION_DENIEDPLAN_APPLY_ARTIFACT_INVALIDPLAN_APPLY_ORPHANED_LOCKPLAN_APPLY_ROLLBACK_BASELINE_INVALIDPLAN_APPLY_RULE_CHANGEDPLAN_APPLY_TARGET_STATE_CHANGEDPLAN_APPLY_ACCESS_IMPACT_CHANGEDPOSTGRES_FUTURE_OBJECT_CREATORS_MISSINGPOSTGRES_GRANT_AUTHORITY_MISSINGPOSTGRES_MANAGEMENT_PRIVILEGES_MISSINGPOSTGRES_ROLE_ATTRIBUTE_UNSUPPORTEDPOSTGRES_ROLE_NAME_RESERVEDPOSTGRES_TLS_FILE_NOT_ALLOWEDPROVIDER_REQUEST_FAILEDRATE_LIMITEDROLE_EXISTSROLE_NOT_FOUNDROTATION_CHECK_REQUIREDSECRET_STORE_UNAVAILABLESERIALIZATION_ERRORTARGET_ACCOUNT_IDENTITY_MISMATCHTARGET_ACCOUNT_IDENTITY_UNVERIFIEDTARGET_ACCOUNT_IMPORT_PENDINGTARGET_ACCOUNT_PRINCIPAL_LOGINTARGET_ACCOUNT_TAKENTARGET_CONNECTION_MISSINGTARGET_REPAIR_REQUIREDUNKNOWN_ERRORVALIDATION_FAILED
titlestring

Short name of the failure from the same registry, for lists and queues where the explanation is too long. Absent on failures saved before the field existed.

max length 32
explanationstringrequired
recommended_actionstringrequired
retryablebooleanrequired

Whether the failed attempt was eligible for an automatic retry under the actual queue policy.

phasestring

Known operation phase at failure, when available.

resolution_codestring

Stable code of the action that can resolve this failure, the same vocabulary as a problem's resolution.code, for example upstream.check_connection. Absent when no single action does. A screen that offers the action shows it next to the failure, otherwise it shows recommended_action.

max length 128 · pattern ^[a-z][a-z0-9_-]*(\.[a-z0-9_-]+)*$
cluster_answerstring

The Kubernetes cluster's own answer to a change its admission policy or webhook refused: the policy or webhook name and its message. Only a step failure with code K8S_CHANGE_REJECTED carries it, as plain text without control characters, cut to 500 characters. The cluster administrator writes it, not Principal. Given only to callers with access:read in the rule's organization. Absent for runs saved before the field existed.

max length 500
last_errorstring

Why the latest attempt failed, in plain words with the next step. The provider's answer when the provider rejected the message. Present only for a notification that was not delivered.

resendablebooleanrequired
resend_blocked_bystring

Why Resend is not offered. Absent when it is. delivered — an attempt delivered it. Retrying — its delivery job is queued or running. Unknown_result — an attempt of it to this or another channel never recorded a result, so it may have been delivered and is not resent without a person checking the channels. No_delivery_job — no delivery job of it gave up (a Send test message, for example). Channel_disabled — the channel is turned off. Not_subscribed — the channel no longer takes this event, severity or target. Subscription_removed — the Activity subscription that sent it was removed.

deliveredretryingunknown_resultno_delivery_jobchannel_disablednot_subscribedsubscription_removed

The Activity subscription that sent the notification.

3 fields
idstring · uuidrequired
namestringrequired

Its current name. Empty when it has none or was removed.

removedbooleanrequired

True when the subscription no longer exists.

operation_idstring · uuid

The Activity operation the notification is about. Present for Activity subscriptions.

409

Conflict

Common errors: 400 401 403 404 429 503 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close