Retrying a secret is the action of manually triggering the secret exchange.
PATCH /secrets/:id
curl https://reactor.adobe.io/secrets/:id \
-H "Accept: application/vnd.api+json;revision=1" \
-H "Content-Type: application/vnd.api+json" \
-H "Authorization: Bearer [TOKEN]" \
-H "X-Api-Key: [KEY]" \
-H "X-Gw-Ims-Org-Id: [ORG_ID]" \
-X PATCH \
-d \
'
{
"data": {
"attributes": {
"type_of": "token"
},
"meta": {
"action": "retry"
},
"id": "SEb2226d52b4194030b15bb8a0fa0f68f4",
"type": "secrets"
}
}'
{
"data": {
"id": "SEb2226d52b4194030b15bb8a0fa0f68f4",
"type": "secrets",
"attributes": {
"created_at": "2023-04-21T23:08:23.110Z",
"updated_at": "2023-04-21T23:08:23.110Z",
"name": "Example Secret",
"type_of": "token",
"activated_at": null,
"expires_at": null,
"refresh_at": null,
"status": "pending",
"created_by_email": "ciltaru@adobe.com",
"created_by_display_name": "George Ciltaru",
"updated_by_email": "ciltaru@adobe.com",
"updated_by_display_name": "George Ciltaru",
"credentials": {
}
},
"relationships": {
"property": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEb2226d52b4194030b15bb8a0fa0f68f4/property"
},
"data": {
"id": "PR646d338944b7495e8e622080cc0ec2c7",
"type": "properties"
}
},
"environment": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEb2226d52b4194030b15bb8a0fa0f68f4/environment"
},
"data": {
"id": "EN7c35d958087146de84fcf3fe10bdbd9f",
"type": "environments"
},
"meta": {
"stage": "development"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEb2226d52b4194030b15bb8a0fa0f68f4/notes"
}
},
"data_elements": {
"links": {
"related": "https://reactor.adobe.io/secrets/SEb2226d52b4194030b15bb8a0fa0f68f4/data_elements"
}
}
},
"links": {
"self": "https://reactor.adobe.io/secrets/SEb2226d52b4194030b15bb8a0fa0f68f4",
"property": "https://reactor.adobe.io/secrets/SEb2226d52b4194030b15bb8a0fa0f68f4/property"
}
}
}